While Amaziah was king, he killed ten thousand Edomite soldiers in Salt Valley. He captured the town of Sela and renamed it Joktheel, which is still its name.
King Mesha of Moab saw that he was about to be defeated. So he took along seven hundred soldiers with swords and tried to break through the front line where the Edomite troops were positioned. But he failed.
He then grabbed his eldest son who was to be the next king and sacrificed him as an offering on the city wall. The Israelite troops were so horrified that they left the city and went back home.