Like his ancestors, Zechariah disobeyed the Lord by following the evil ways of Jeroboam son of Nebat, who had caused the Israelites to sin.