AN NISAA' (WANITA) — Ayat 66
وَلَوْ أَنَّا كَتَبْنَا عَلَيْهِمْ أَنِ اقْتُلُواْ أَنفُسَكُمْ أَوِ اخْرُجُواْ مِن دِيَارِكُم مَّا فَعَلُوهُ إِلاَّ قَلِيلٌ مِّنْهُمْ وَلَوْ أَنَّهُمْ فَعَلُواْ مَا يُوعَظُونَ بِهِ لَكَانَ خَيْرًا لَّهُمْ وَأَشَدَّ تَثْبِيتًا
And if We had decreed upon them, "Kill yourselves" or "Leave your homes," they would not have done it, except for a few of them. But if they had done what they were instructed, it would have been better for them and a firmer position [for them in faith].
Tafsir
If I wrote them that explained Kill yourselves or get out of your homes As we wrote on the children of Israel, they did any written them only a few lifting the allowance and the monument to the exception them if they did what they preach by of obedience to the Prophet peace be upon him it would be better for them and more confirmation To their faith.