Among the Wisdom of Jihad is to test the Muslims
Allah said,
أَمْ حَسِبْتُمْ
...
Do you think,
O believers that We will leave you untested with matters that make apparent those who have pure, good intent from those who have false intent
...
أَن تُتْرَكُواْ
...
that you shall be left alone,
This is why Allah said next,
...
وَلَمَّا يَعْلَمِ اللّهُ الَّذِينَ جَاهَدُواْ مِنكُمْ وَلَمْ يَتَّخِذُواْ مِن دُونِ اللّهِ وَلاَ رَسُولِهِ وَلاَ الْمُوْمِنِينَ وَلِيجَةً
...
while Allah has not yet tested those among you who have striven hard and fought and have not taken Walijah besides Allah and His Messenger, and the believers...,
meaning, supporters and confidants. Rather, they are sincere for Allah and His Messenger inwardly and outwardly.
Allah also said;
الم
أَحَسِبَ النَّاسُ أَن يُتْرَكُوا أَن يَقُولُوا امَنَّا وَهُمْ لاَ يُفْتَنُونَ
وَلَقَدْ فَتَنَّا الَّذِينَ مِن قَبْلِهِمْ فَلَيَعْلَمَنَّ اللَّهُ الَّذِينَ صَدَقُوا وَلَيَعْلَمَنَّ الْكَاذِبِينَ
Alif-Lam-Mim.
Do people think that they will be left alone because they say: "We believe," and will not be tested.
And We indeed tested those who were before them. And Allah will certainly make known those who are true, and will certainly make known those who are liars... (29:1-3)
أَمْ حَسِبْتُمْ أَن تَدْخُلُواْ الْجَنَّةَ وَلَمَّا يَعْلَمِ اللَّهُ الَّذِينَ جَـهَدُواْ مِنكُمْ وَيَعْلَمَ الصَّـبِرِينَ
Do you think that you will enter Paradise before Allah tests those of you who fought (in His cause) and (also) tests those who are patient. (3:142)
and,
مَّا كَانَ اللَّهُ لِيَذَرَ الْمُوْمِنِينَ عَلَى مَأ أَنتُمْ عَلَيْهِ حَتَّى يَمِيزَ الْخَبِيثَ مِنَ الطَّيِّبِ
Allah will not leave the believers in the state in which you are now, until He distinguishes the wicked from the good. (3:179)
In summary, since Allah legislated Jihad for His servants, He explained that the wisdom behind doing so includes testing His servants, distinguishing between those who obey Him and those who disobey Him.
...
وَاللّهُ خَبِيرٌ بِمَا تَعْمَلُونَ
Allah is well-acquainted with what you do.
Allah, the Exalted, is the All-Knower of what occurred, what will occur, and the true essence of what might occur had He decided it. Therefore, Allah knows everything before it occurs and how it will occur, there is no deity worthy of worship except Him, nor a Lord except Him. Truly, there is none who can avert Allah's judgment and decision.
مسلمان بھی آزمائے جائیں گے
یہ ناممکن ہے کہ امتحان بغیر مسلمان بھی چھوڑ دیئے جائیں سچے اور جھوٹے مسلمان کو ظاہر دینا ضروری ہے ولیجہ کے معنی بھیدی اور دخل دینے والے کے ہیں ۔ پس سچے وہ ہیں جو جہاد میں آگے بڑھ کر حصہ لیں اور ظاہر باطن میں اللہ رسول کی خیر خواہی اور حمایت کریں ایک قسم کا بیان دوسری قسم کو ظاہر کر دیتا تھا اس لیے دوسری قسم کے لوگوں کا بیان چھوڑ دیا ۔ ایسی عبارتیں شاعروں کے شعروں میں بھی ہیں ایک جگہ قرآن کریم ہے کہ کیا لوگوں نے یہ گمان کر رکھا ہے کہ وہ صرف یہ کہنے سے چھوڑ دیئے جائیں گے کہ ہم ایمان لائے اور ان کی آزمائش ہوگی ہی نہیں حالانکہ اگلے مومنوں کی بھی ہم نے آزمائش کی یاد رکھو اللہ سچے جھوٹوں کو ضرور الگ الگ کر دے گا اور آیت میں اسی مضمون کو ( اَمْ حَسِبْتُمْ اَنْ تَدْخُلُوا الْجَنَّةَ ) 2- البقرة:214 ) کے لفظوں سے بیان فرمایا ہے ۔ اور آیت میں ہے ( مَا كَانَ اللّٰهُ لِيَذَرَ الْمُؤْمِنِيْنَ عَلٰي مَآ اَنْتُمْ عَلَيْهِ حَتّٰى يَمِيْزَ الْخَبِيْثَ مِنَ الطَّيِّبِ ۭ وَمَا كَانَ اللّٰهُ لِيُطْلِعَكُمْ عَلَي الْغَيْبِ وَلٰكِنَّ اللّٰهَ يَجْتَبِىْ مِنْ رُّسُلِھٖ مَنْ يَّشَاۗءُ ۠ فَاٰمِنُوْا بِاللّٰهِ وَرُسُلِھٖ ۚ وَاِنْ تُؤْمِنُوْا وَتَتَّقُوْا فَلَكُمْ اَجْرٌ عَظِيْمٌ ١٧٩ ) 3-آل عمران:179 ) اللہ ایسا نہیں کہ تم مومنوں کو تمہاری حالت پر ہی چھوڑ دے اور امتحان کر کے یہ نہ معلوم کر لے کہ خبیث کون ہے اور طیب کون ہے؟ پس جہاد کے مشروع کرنے میں ایک حکمت یہ بھی ہے کہ کھرے کھوٹے کی تمیز ہوجاتی ہے گواللہ تعالی ہر چیز سے واقف ہے ۔ جو ہوگا وہ بھی اسے معلوم ہے اور جو نہیں ہوا وہ جب ہوگا ، تب کس طرح ہوگا یہ بھی وہ جانتا ہے چیز کے ہو نے سے پہلے ہی اسے اس کا علم حاصل ہے اور ہر چیز کی ہر حالت سے وہ واقف ہے لیکن وہ چاہتا ہے کہ دنیا پر بھی کھرا کھوٹا سچا جھوٹا ظاہر کر دے اس کے سوا کوئی معبود نہیں نہ اس کے سوا کوئی پروردگار ہے نہ اس کی قضا و قدر اور ارادے کو کوئی بدل سکتا ہے ۔