The Prostration - 32:24 When they were patient and firmly believed in Our signs, We appointed from among them leaders guiding them by Our command.
What was Allah's will for the Children of Israel?
The Table Spread/5:12 "Allah had taken a promise from the Children of Israel and We sent twelve leaders from among them. Allah said: "I am with you if you observe the prayer, pay the zakat, believe in My messengers and respect them, and lend to Allah a good debt. I will cover your sins and give you gardens in which rivers flow. So whoever of you disbelieves after that has gone astray from the right path."
وَلَقَدْ اَخَذَ اللّٰهُ م۪يثَاقَ بَن۪ٓي اِسْرَٓائ۪لَۚ وَبَعَثْنَا مِنْهُمُ اثْنَيْ عَشَرَ نَق۪يباًۜ وَقَالَ اللّٰهُ اِنّ۪ي مَعَكُمْۜ لَئِنْ اَقَمْتُمُ الصَّلٰوةَ وَاٰتَيْتُمُ الزَّكٰوةَ وَاٰمَنْتُمْ بِرُسُل۪ي وَعَزَّرْتُمُوهُمْ وَاَقْرَضْتُمُ اللّٰهَ قَرْضاً حَسَناً لَاُكَفِّرَنَّ عَنْكُمْ سَيِّـَٔاتِكُمْ وَلَاُدْخِلَنَّكُمْ جَنَّاتٍ تَجْر۪ي مِنْ تَحْتِهَا الْاَنْهَارُۚ فَمَنْ كَفَرَ بَعْدَ ذٰلِكَ مِنْكُمْ فَقَدْ ضَلَّ سَوَٓاءَ السَّب۪يلِ