This happened because of the sins he committed. He did evil in the sight of the LORD and followed in Jeroboam's footsteps and encouraged Israel to continue sinning. 