Commitment issues

My boyfriend and I have been in and out of a relationship for years, his sister is getting a nasty divorce and now he says he doesn't want to get married but wants a child from
me. He says if I make him a baby he will marry me in the morning I said NO am am not twelve. Am I wrong for saying NO? I love him and want to get married before having a child but I feel like he's trying to trap me?