فَلَمْ And not تَقْتُلُوهُمْ you kill them وَلَـٰكِنَّ but ٱللَّهَ Allah قَتَلَهُمْ ۚ killed them وَمَا And not رَمَيْتَ you threw إِذْ when رَمَيْتَ you threw وَلَـٰكِنَّ but ٱللَّهَ Allah رَمَىٰ ۚ threw وَلِيُبْلِىَ and that He may test ٱلْمُؤْمِنِينَ the believers مِنْهُ from Him بَلَآءً (with) a trial حَسَنًا ۚ good إِنَّ Indeed ٱللَّهَ Allah سَمِيعٌ (is) All-Hearing عَلِيمٌۭ All-Knowing ١٧
And you did not kill them, but it was Allāh who killed them. And you threw not, [O Muḥammad], when you threw, but it was Allāh who threw that He might test the believers with a good test. Indeed, Allāh is Hearing and Knowing.
— Come To Light