Am I stupid?

Long story : I will try to make this as short as I can. I am 21 this month and my baby daddy is 22 almost 23. I got pregnant at 19 with his baby, we had only been dating 6 months when it happened. I have known him since I was 15, we messed around when we would younger so it's not like I was pregnant with someone I barely knew. During my pregnancy I went through a lot of insecurities. My baby daddy had blocked me on social media and was following accounts that posted nudes or partial nudes, or followed girls he knew irl that posted racey pics and he was all over those pics. It made me hate myself, my changing body, just hurt so bad. I pushed it off to stay with him. He continued this behavior for literally over a year to the point where I broke up with him last month after logging into his sc and seeing literally dozens of females on it and him sending them messages with heart eyes and saying how attractive they are, wanting to meet up etc. Even a girl who's house he went to and stayed over so you can guess what happened there. He's been homeless since and recently has been wanting to try to make things better with us. I'm still blocked on his accounts, he put his accounts on private and has me in the dark. But he swears he has stopped talking to anyone else but just hasn't gotten around to removing them from his stuff. Should I even try to believe him or make things work? I want to...but a big part of me says it's already dead and to stop trying to revive what I know won't be the same. But I love him so much and I want to feel wanted by him but I can't stop thinking of all those gorgeous women, their perfect bodies that aren't loose and stretched, that haven't had a baby. Who's boobs are perky and butts firm and I look like a 40yr olds body. Him saying how he wanted to hold one particular person and never let go. This person was a friend of mine who was telling me how he wasn't worth it meanwhile she was flirting with him. I'm so lost. I want us to be a family but I feel so broken and ruined. He has been saying the night the last few nights and we have been having the best sex we have ever had, but I feel nasty with myself because of it. He stayed over last night and left for his first day at this new job of his. All day I have been thinking why am I doing this? What am I doing? What do I do?