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.
For when the Lord tore Israel away from the kingdom of David, they chose Jeroboam son of Nebat as their king. But Jeroboam drew Israel away from following the Lord and made them commit a great sin.
But Jehu did not obey the Law of the Lord, the God of Israel, with all his heart. He refused to turn from the sins that Jeroboam had led Israel to commit.