In as little as 40 days, the Hebrews were already forgetful of God's miracles of the Exodus leading up to the battle with Amalek where God proved to be their banner.