Because Joseph her husband was a righteous man and did not want to expose her to public disgrace, he had in mind to divorce her quietly.
NIV
And her [promised] husband Joseph, being a just and upright man and not willing to expose her publicly and to shame and disgrace her, decided to repudiate and dismiss (divorce) her quietly and secretly.
AMP
Then Joseph her husband, being a just man, and not willing to make her a publick example, was minded to put her away privily.
KJV
The LORD said to Moses, "Take all the leaders of these people, kill them and expose them in broad daylight before the LORD, so that the LORD's fierce anger may turn away from Israel."
NIV
And the Lord said to Moses, Take all the leaders or chiefs of the people, and hang them before the Lord in the sun [after killing them], that the fierce anger of the Lord may turn away from Israel.
AMP
And the LORD said unto Moses, Take all the heads of the people, and hang them up before the LORD against the sun, that the fierce anger of the LORD may be turned away from Israel.
KJV
Therefore I will expose the flank of Moab, beginning at its frontier towns – Beth Jeshimoth, Baal Meon and Kiriathaim – the glory of that land.
NIV
Therefore behold, I will lay open the flank of Moab from the cities, from its cities on its frontiers and in every quarter, the glory of the country, Beth-jeshimoth, Baal-meon, and Kiriathaim.
AMP
Therefore, behold, I will open the side of Moab from the cities, from his cities which are on his frontiers, the glory of the country, Bethjeshimoth, Baalmeon, and Kiriathaim,
KJV
Therefore as surely as I live, declares the Sovereign LORD, I will give you over to bloodshed and it will pursue you. Since you did not hate bloodshed, bloodshed will pursue you.
NIV
Therefore, as I live, says the Lord God, I will expose you to slaughter and slaughter shall pursue you; since you could not bear to live without bloodshed, therefore bloodshed shall pursue you.
AMP
Therefore, as I live, saith the Lord GOD, I will prepare thee unto blood, and blood shall pursue thee: sith thou hast not hated blood, even blood shall pursue thee.
KJV