Is not wanting a baby selfish?

I'm dating this guy for about two months n I felt the need to tell him I don't wanna have a baby. I felt like he needed to know in order to decide whether or not he wants to move forward with me but he called me selfish n he got all mad at me n stuff

Don't I have a right to want or don't want children?! I thought I'm doing the right thing by telling him now u have mixed feelings