There are laws that exist that address such unanticipated consequences.
Now that you are pregnant, those laws are there to protect your child once he or she is born.
What your boyfriend wants or wanted will be subject to the law, not his preferences.
For goodness sake, tell your parents----You will need their support as you go forward.
And no, this is not the end of the world for you.