God pronounced judgement on Ephraim for his idolatry.