"Both pride and self-righteousness blind our ability to see things as they really are. The worst part of this blindness is that the blind person does not believe they are blind. To others it is obvious, but to the poor souls wearing the garments of pride and self-righteousness, they actually believe they see. And they always see themselves in a different light than others see them.
A self-righteous person will always have people they can look down upon. After all, some people work harder for the Lord than others. While they may not voice it openly, those deemed to be outside the "saved" camp become secretly despised. Since God is going to deal with them in very cruel ways, the self-righteous person feels justified in copying their God of wrath. This self-righteousness then becomes a mountain of people under their feet, so to speak, a mass of people to look down upon as despised, forsaken, despicable. This mass of people can be compose of other denominations, people with other doctrinesand creeds, entire nations, various personal preferences, or a host of other reasons to place these people in the "not saved" or "unjustified" camp.
Self-righteousness, is the number one cause of failure in a Christian's life. Two giant pillars of the gates of hell are pride and self-righteousness.
The danger of having the problem of self-righteousness is that it is a blinding agent. Once the poison sets in, the person becomes blind to the fact they are self-righteous. In addition, it is almost impossible for other human beings to tell that person they are self-righteous. They truly cannot see it. The Pharisees who say, "We thank God we am not like them" really do not thank God, they are praising themselves and their own works. They see everything through their own works, which to them are good. They say they "see," but Jesus said that because they say they "see," their sin remains. Self-righteousness causes us to say we see, when we are truly spiritually blind."
Maybe pick up the book "Marriage, Divorce and Remarriage" by Samuel G Dawson, or even Not Under Bondage: Biblical Divorce for Abuse, Adultery & Desertion. It seems like you could use some aid interpreting the Bible.
Might be better off though working on your pride and self righteous sins first so you can see.