He disobeyed the Lord by following the evil example of Jeroboam son of Nebat, who had caused the Israelites to sin.