What Jeroboam did was sinful. And it caused Israel to sin. The people came to worship the statue at Bethel. They went all the way to Dan to worship the statue that was there.
He tore Israel away from David’s dynasty, and Jeroboam son of Nebat became their king. Jeroboam drove Israel away from the LORD and encouraged them to commit a serious sin.
But Jehu did not carefully and wholeheartedly obey the law of the LORD God of Israel. He did not repudiate the sins which Jeroboam had encouraged Israel to commit.