Read and reflect on verse 1083 from Surah Al-A'raaf: [But the children of Israel] said: "We have suffered hurt ere thou camest to us and since thou hast come to us!" [Moses] replied: "It may well be that...
قَالُوا أُوذِينَا مِنْ قَبْلِ أَنْ تَأْتِيَنَا وَمِنْ بَعْدِ مَا جِئْتَنَا ۚ قَالَ عَسَىٰ رَبُّكُمْ أَنْ يُهْلِكَ عَدُوَّكُمْ وَيَسْتَخْلِفَكُمْ فِي الْأَرْضِ فَيَنْظُرَ كَيْفَ تَعْمَلُونَ
[But the children of Israel] said: "We have suffered hurt ere thou camest to us and since thou hast come to us!" [Moses] replied: "It may well be that your Sustainer will destroy your foe and make you inherit the earth: and thereupon he will behold how you act."