Pregnant, alone, and homeless

I am 6 months pregnant. My boyfriend of 4 years received a job offer in Texas, he asked me to move with him. We moved here from New York 3 months ago. About a month ago he started to act really strange. I tried to talk to him about what's going on. He blew me off every time. He came home last night and told me that he was seeing someone else. He told me that he had been talking to her for about a year. He asked me to move back to New York so that he can figure things out here. I don't know what to do, he is the only family I have and I don't have anywhere to go if I go back to New York. I've been working part time here but haven't saved anything. I've used all my money to buy baby stuff. He asked if I could be out before June because he wants his new girlfriend to move in when her lease is up. I have been applying for jobs back home all day, I have called a couple of friends in NY and they have offered me a place to stay for a while. I am so pissed that I allowed myself to fall for this stupid selfish man. I hate that I got pregnant by him. I just want to die right now but I know I have to be strong for my munchkin.