it was not you who killed them but allah slew them neither was it you who threw at them. allah threw at them in order that he confers on the believers a fair benefit. indeed allah is hearing knowing.
فلم تقتلوهم ولكن الله قتلهم وما رميت إذ رميت ولكن الله رمى وليبلي المؤمنين منه بلاء حسنا إن الله سميع عليم