What Jeroboam did was sinful. And it caused Israel to sin. The people even went all the way to Dan to worship the statue that was there.