Dear sister in Christ,
Like others have done, let me also try to encourage your soul.
1) Remember, every sin of every believer has ALREADY been punished at the cross of calvary. Did you sin? Sure. So have all of us. But the FULL punishment for that sin has been paid by Christ. I know you know this. But in the midst of trials, we often lose sight of the cross. "But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8) Does God love you? Look at the cross. Yes He does. More than you or I can ever imagine. The Bible says that a "friend loves at all times." Christ is the best friend. A "friend of sinners" like you and I.
2) God is up to something good for you. This trial of yours is not by accident. Every trial we endure is a part of God's good purpose to make us more like Jesus Christ. "All things work together for good" really does mean ALL things. The Lord's hand is in this. Even our sins and failures are often used by the Lord to sanctify us.
3) Since you are a Christian and have the Holy Spirit within you, there is no trial which you cannot manage to face and manage to God's glory. Read Hebrews 11. See what God can do. Paul said "I can do all things through Christ who strengthens me."
4) Divorce, if it is not for Biblical reasons, will not make your life easier. It often looks that way. But God's Word says "The way of the transgressor is HARD (Proverbs 13:15)."
You know that the Lord anticipated that there would be situations exactly like your own. Paul writes of it "For the unbelieving husband is sanctified by the wife, and the unbelieving wife is sanctified by the husband; otherwise your children would be unclean, but now they are holy." (1 Corinthians 7:14) Peter also addressed it: "Wives, likewise, be submissive to your own husbands, that even if some do not obey the word, they, without a word, may be won by the conduct of their wives," (1 Peter 3:1)
May the Lord give you much wisdom and grace my dear sister.
Blessings,
Jason