Dear C.,
Yeeeesssss, it is hopeless to stay. I tried for 29 years and 6 months to make a good home for my children with a man that was like your husband. It didn't work, and it ruined my relationship with my son. He took up some of his father's attitudes toward me. It was not the right thing for me to do, but I was unadvised, and unsupported by the community, family, and so on and la, la.
Now you have been warned and supported and you need to find a lady that is about 50 or 60 or even more, and confide in her. Go to church and one will appear - those church ladies, especially Methodists are a little bit hard to get to know, but it is well worth the try, they are REAL and not judgemental and have been through their own version of, shall we say Hell? An old saying is that every mother needs a mother, that means someone who will support, guide, be loving and understanding, and NOT JUDGEMENTAL. Good hunting.
You are young enough that you can go to school at a Jr. College or Trade School or on line and get some skills for the business world today.
You don't have to tell anyone, except very special friends that you know will not spread gossip, and make your plans very carefully so that you and your daughter will not have to suffer from lack of a home and food.
Good Luck, Remember do not wait 29 years and 6 months! C. N.