He did what was evil in the sight of the Lord, walking in the way of his father, his mother, and Jeroboam, son of Nebat, who caused Israel to sin.