Advice/ help

Im not happy. My husband and mother in law emotionally and verbally abuse me. I have two kids. I have no where to go. I have no money. I am crying all the time. I just want to give my kids the best life. They are my everything. But if I leave he says he will fight for full custody and he will win because The house is under his name and I have no income and if I leave ill be homeless. Even though he is the abusive one, he will get custody because he has the financial stability. Im so depressed though. I am tired of being mistreated and sworn at. I try so hard for my kids. But it drains so much energy to keep a smile on while someone is constantly putting you down everyday. I wish I could work and save money, but my youngest needs me at home. What can I do? Do i just have to stay put and just deal with it at this point? Why did I have kids with a man like this? Because I really prayed he would change and there were some good times between the bad ones. It always looked like things were starting to change. Also, he makes me think that it is always my fault. But I never do anything he just randomly starts mistreating me and yelling at me for no reason.