Should I leave..

My boyfriend made it kind of apparent he doesn’t want to be with me. Last night he really ripped into me. Saying things like I disgust him and that he dreams of packing his stuff and starting new somewhere without our daughter and I. That he wishes he wouldn’t have went after me 5 years ago, that he would be happier with someone else.. I think it’s obvious he doesn’t want to be with me but for some reason I still want him. Do I leave or do I try to be better for him? Please don’t leave any hateful comments, already having a rough time here.