It helped to protect the Israelites spiritually by prohibiting marriage to false worshippers. ( Read Deuteronomy 7: 3, 4.)
وَلَاحِقًا ،‏ صَنَعَ يَهْوَهُ عَهْدًا ،‏ أَيِ ٱتِّفَاقًا ،‏ مَعَ أُمَّةِ إِسْرَائِيلَ .‏