Jeroboam built the altar at Bethel to make it easier for Israelites to worship nearby instead of traveling to Jerusalem (1 Kings 12:26–31). Josiah's destruction of the site followed the law's requirements (Deuteronomy 7:5; 12:3) and fulfilled the earlier prophecy by the man of God who had condemned the altar (1 Kings 13:1–3).