I’m miserable in my marriage

I’m feeling pretty miserable and insecure with my marriage. He never puts me first and he’s always lying about stupid shit but I’ve never had an issue with him being unfaithful. The responses on this app are always “get a divorce then”. How is it that easy? I don’t want to share my kids. I’m a stay at home mom and it would wreck my world. I have no job and no where to go. I’m miserable now but I’d be more miserable homeless so what am I supposed to do?