Do I need to get a replacement bike for this broken chainring?
Those notches are used when shifting gears, as you move the derailleur, the chain moves and catches on a notch and switches from one chainring to another adjusting the gearing.

You do not need a replacement bicycle, this is a nice bike and with proper maintenance (keeping the drive train clean and lubed) should last a long time.