If you are living with an evil spouse, you must not be destroyed spiritually by him or her. If your spouse does not want to do the will of God, you must not allow his/her influence to keep you from doing the will of God. There is not one husband or wife in the world who is worth going to Hell for. Far more important that your vow to your spouse is your vow to God. You must never give your spouse more priority than God. Your relationship with God is infinitely more important than your relationship with your spouse.
In my fifty years of ministry, I have seen countless hundreds of people fall away from God because they were negatively influenced by their spouses. It can be a great, great struggle to remain faithful to God when a spouse is incessantly struggling to pull you the other way. An evil spouse's constant harassment can seem to be an insurmountable obstacle, but it must not be so. Regardless of how hostile an evil spouse becomes, a real Christian will utterly refuse to bend or bow to those things that grieve the Holy Ghost.
Every Pastor and every saint should offer as much encouragement as possible to any person who is living with an evil spouse. The Church should provide as much spiritual, moral, and even physical support to any believer who is struggling with an evil spouse.
The Prophet Daniel is a prime example of someone who absolutely refused to compromise with those who were determined to destroy him. It led to his being thrown into the lion's den, but God finally delivered him, and Daniel was greatly strengthened by that ordeal.
Not every believer will be delivered from their lion's den. Some will go to their graves having been persecuted to the bitter end. But God will reward the faithful. "Be thou faithful unto death, and I will give the a crown of life," Revelation 2:10. Regardless of the price you must pay to live for God and stand up for Truth, Righteousness and Holiness, it will be worth it all some day.
"I count all things but loss for the excellency of the knowledge of Christ Jesus my Lord: for whom I have suffered the loss of all things, and do count them but dung, that I may win Christ," Philippians 3:8 KJV.
"Be sober, be vigilant; because your adversary the devil, as a roaring lion, walketh about, seeking whom he may devour: Whom resist stedfast in the faith, knowing that the same afflictions are accomplished in your brethren that are in the world. But the God of all grace, who hath called us unto his eternal glory by Christ Jesus, after that ye have suffered a while, make you perfect, stablish, strengthen, settle you," 1 Peter 5:8-10 KJV.