Feeling Guilty

Anyone else not in an ideal situation relationship wise and feel guilty for bringing a child into a mess? When I got preg my bf and I were fine but the way it's looking we won't be together much longer. I'm more so mad at myself because I ignored the signs and now I feel like my son is going to suffer the consequences. He won't grow up in a two parent household like I did, I just wanted better for him. I totally understand now why God says wait till marriage to have sex.