Shortly after the Exodus, the Amalekites launched an unprovoked attack on God’s people. The time had come for the Israelites to repel the threat.
فَبُعَيْدَ ٱلْخُرُوجِ مِنْ مِصْرَ ،‏ شَنَّ ٱلْعَمَالِيقِيُّونَ هُجُومًا غَيْرَ مُبَرَّرٍ عَلَى شَعْبِ ٱللهِ .‏