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 He tore Israel from the house of David, and they made Jeroboam the son of Nebat king. Then Jeroboam drove Israel from following the Lord, and made them commit a great sin.
But Jehu took no heed to walk in the law of the Lord God of Israel with all his heart; for he did not depart from the sins of Jeroboam, who had made Israel sin.