He did what the Lord said was wrong. He sinned just as his father Jeroboam did when he caused the Israelites to sin.