OP I feel for you, I know how easy it is to fall for an abusive man who promises you the world.
But while that was not your fault, you absolutely do need to learn from this. Now you know what people are capable of, you need to work on your self esteem and ensure you and your baby are never in this situation again. You now can see how this horrible man duped, so there are no excuses for you go down this route again.
Ask for help from SS. Only baby and you matter now. I really hope he hasn't changed his mind this morning and you've gone back, because this scenario will never change. Except it will also be your innocent child getting thrown out while he's on drugs.
I still cannot believe that not only does he think it's completely fine to throw a pregnant woman out, one who is carrying his own baby, but that his family are just as bad and quite happy to do the same. What if you didn't have the means to stay in a hotel? Doesn't sound like any one of them cared.
Seek help so you're never in this position again. And I say this as someone who also made similar choices due to low self esteem in my late teens. But I learned from them. What he's done is not your fault, but if you carry on while you've got a baby to protect then it is. Want better for this baby than the toxic family you had.
You can do it! And there are services to help and support on here. I know not all comments have been supportive, but those people are just worrying about the baby.