God blessed Amaziah by allowing him to subdue the Edomites who had revolted from Judean control during the reign of Judah's king Jehoram (cf. 2 Chron. 25:5-16). The Valley of Salt lay south of the Salt (Dead) Sea in the Arabah. Sela was the capital of Edom at this time.
Amaziah's heart became proud because of this victory. He concluded that his superior power had gained it rather than God's might. This led him to challenge Israel in battle. King Jehoash's parable (vv. 9-10) hurt Amaziah's pride (cf. Jotham's fable, Judg. 9:8-15). Instead of backing down he insisted on a confrontation. God permitted this situation to punish Amaziah because after subduing the Edomites he had brought some of their idols into Jerusalem and worshipped them (2 Chron. 25:14, 20). The army of Israel took Amaziah prisoner (vv. 13-14). It was probably then that Amaziah's son Azariah began to reign in Jerusalem as his father's coregent (790 B.C.).88Azariah continued as coregent until his father died (in 767 B.C.).