Hello again
Brandon*, I had noticed earlier that you are a new member here, but I forgot to say welcome to CF so, WELCOME TO CF
I'm glad that you found us and joined in the discussions with us!
The other thing I forgot to mention is your friend's advice to you (that you mentioned to us in the OP), to leave your marriage over this because he fears that not doing so may lead you back into your addiction). While that sounds like advice from a friend who is concerned about you, do you believe that you'd receive the same advice if it was coming from the Lord Jesus instead of from your friend?
I KNOW how hard it can be, but as Christians, we need to remember that we play by a different set of rules now than we did when we used to be part of this world, which means that we need to trust Him and take Him at His word, even when it "feels" wrong to do so, feels like we should be doing the very opposite of what he's telling us to do.
Again, talk to your pastor about this too.
There is also this advice to consider following (from pastor/theologian Dr. Sinclair Ferguson), advice that I have ALWAYS been glad that I followed, especially when I wasn't sure what was best to do next (advice that I wish that I'd remembered to follow FAR more often than I have), and here it is:
God bless you!!
--David
Proverbs 3
5 Trust in the LORD with all your heart,
And lean not on your own understanding;
6 In all your ways acknowledge Him,
And He shall direct your paths.