I need to marry him

So me and my boyfriend have been dating for almost two years and even though we haven’t had sex yet I have been so nervous that when we do I might get pregnant (I’m 19 and a freshman in college so not an ideal time) but I was asking him what happens if I get pregnant. And even though he absolutely hates kids he told me if I got pregnant then he would be father of the year and that he will support my decision no matter what it is.