because of the sin he committed by doing what was evil in the LORD's sight and by walking in the ways of Jeroboam and the sin he caused Israel to commit.