how did your boyfriend/other half act when you told him you were pregnant?

Told my boyfriend I'm pregnant and he's told me he wished we had waited a few years and that all this time we were ttc he didn't actually want to but didn't want to hurt my feelings even though I would of preferred the truth.
He says he's going to be there for me and the baby but I'm so scared he's going to leave because of what he's told me 😔 
Please tell me someone else's boyfriends said that to them as well? 
EDIT: he doesn't want me to get rid of the baby. He's just saying he wished we had waited. Just worried he's going to leave me as my body is already changing and when he admitted he wished we waited he told me he's been chatting to a female friend, who's just a friend but were I'm feeling so vonruble at the minute I'm scared he will leave me and the baby for her