how did god punish the israelites for idolatry