by allahs will they routed them and david slew goliath and allah gave him power and wisdom and taught him whatever he willed. and did not allah check one set of people by means of another the earth would indeed be full of mischief but allah is full of bounty to all the worlds.
فهزموهم بإذن الله وقتل داوود جالوت وآتاه الله الملك والحكمة وعلمه مما يشاء ولولا دفع الله الناس بعضهم ببعض لفسدت الأرض ولكن الله ذو فضل على العالمين