He did what was evil in the LORD's sight and walked in the ways of Jeroboam and the sin he had caused Israel to commit.