He did evil in the eyes of the Lord, because he followed the ways of his father and mother and of Jeroboam son of Nebat, who caused Israel to sin.