WealikumAsSalaamweRahmetAllaahebarkatuh.
Dear sister, may Allaah SWT lighten your affiars-always remember that no one is burdened with more than what they can bear. While all the members have so far given you great advice and InshAllaah you can incorporate them in your life, I would like to add something as well. Every person has to realize their priorities in life. Our top priority is to worship and obey our Lord. This means we must always continue to learn, grow, understand, and stablize our level of emaan. When someone has a number of friends who are not practising or who are a bad influence, such as constant swearing, haraam acts, etc, what should they do? They should leave their environment if they cannot change it. Why? Because their emaan may suffer greatly. Shaytaan loves nothing more than to break up couples, and Allaah SWT hates to see divorce amongst His slaves. However, by the same token, if your emaan is suffering continuously, then you must change your environment. Why? Because ultimately you are not going to be fulfilling your top priority, which is to worship Allaah SWT and grow in your religon. This does not mean one should just give up, etc, but rather they shuold put all their effort to make changes happen to make their environment a positive one, however, if it is just not happening, then do not let it be at the cost of your emaan. Why? Because nto only may your emaan suffer continuously over time or hinder your religious growth and nearness to Allaah SWT but also as your family develops over time, a negative environment will affect your children and AllaahuAlim what can happen to them. Do not let that happen. I know of one woman who was in a similar position where her husband did not pray, and was not religious and treated her badly, and so she calmly (really important to speak in a rational, heartfelt and kind manner esp during discussions liek thes) and told her husband that she felt like he was making her choose between him and Allaah SWT and that she wanted to let him know that he could never take priority over Allaah SWT and so she sincerly asked him to change or else she would have to leave him in order to save her emaan, at the cost of her marriage, cuz it had more of a priority over it. She gave her husband a period of time, i believe a month's worth and she says by the end of the month, not only did he pray but he went to the masjid for his prayers and his negative characteristics nd outlooks on life changed and so Alhamdulilah he become better with her by becoming a better muslim, ALhamdulilah and MashAllaah.
So my point is, do not give up and remember that duaa's are the best way for help and that Allaah SWT hears the supplications made by those oppressed loud and clear as they are rather special Alhamdulilah. Furthermore, do your best to help your husband change his habits so that Allaah SWT may have mercy on him on Judgement Day and forgive his sons. Talk to him about the need and fear, to raise children properly and that parents must teach and mould their children into practising muslims InshAllaah and that you would have to be role models for them, or else if you are negative, usually the children will not practice properly either and God Forbid but so much harm can happen to them. Do all that you can InshAllaah while making dua'as and even istekharas InshAllaah to seek guidance. When you go to the masijd when ever that is, speak with an imam who can obviously guide you before you make any of your decisions. But ultimatley, do not forget your religion, and make sure InshAllaah that you never, ever, allow anythign to come in between you and your religious obligations to Allaah SWT. so may He answer your duaas and may you try your best to fix your marriage by doing everything in your hands before resorting to leaving him for the sake of your religion, Ameen, but always remember that you must have sincere intentions on fixing ure marriage and helping your husband become a better muslim and not hasten to give up and leave him, as we are all in this world to be tested. InshAllaah this helps, all the best InshAllaah, Ameen.
SalaamualikumwerahmetALlaahebarkatuh
-pinky