Surah Al-Baqara Verse 251 - English Translation by Safi Kaskas
Surah Al-Baqaraفَهَزَمُوهُم بِإِذۡنِ ٱللَّهِ وَقَتَلَ دَاوُۥدُ جَالُوتَ وَءَاتَىٰهُ ٱللَّهُ ٱلۡمُلۡكَ وَٱلۡحِكۡمَةَ وَعَلَّمَهُۥ مِمَّا يَشَآءُۗ وَلَوۡلَا دَفۡعُ ٱللَّهِ ٱلنَّاسَ بَعۡضَهُم بِبَعۡضٖ لَّفَسَدَتِ ٱلۡأَرۡضُ وَلَٰكِنَّ ٱللَّهَ ذُو فَضۡلٍ عَلَى ٱلۡعَٰلَمِينَ
So, with God's approval, they defeated them. David killed Goliath, and God gave him the kingdom and wisdom, and taught him what He willed. If God had not driven some back by means of others, the earth would have been corrupted, but God shows grace to people