We have not created the heavens and earth, and what between them is, for vanity; such is the thought of the unbelievers, wherefore woe unto the unbelievers because of the Fire! 27 Shall We treat those who believe and do good like the mischief-makers in the earth? Or shall We make those who guard (against evil) like the wicked? 28 This is a Book which We have sent down upon you, a blessed Book, for them to ponder upon its verses, and for men of intellect to accept advice. 29 We bestowed upon David (an illustrious son), Solomon. How excellent a servant (of Ours he was)! Indeed he constantly turned to Us in devotion. 30 When there were brought to him in the evening (horses) still when standing, swift when running-- 31 he would say: "Verily, I have come to love the love of all that is good because I bear my Sustainer in mind!" [repeating these words as the steeds raced away,] until they were hidden by the veil [of distance - whereupon he would command,] 32 Bring them back to me; so he began to slash (their) legs and necks. 33 We tested Solomon by (causing death to his son) and leaving his body on Solomon's chair. Then he turned to Us in repentance, 34 He said: My Lord! Forgive me and bestow on me sovereignty such as shall not belong to any after me. Lo! Thou art the Bestower. 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 as well as all the rebellious forces [that We made to work for him] - every kind of builder and diver 37 and others that were bound with chains. 38 This is Our free gift, therefore give freely or withhold, without reckoning. 39 In Our eyes he certainly has a high position and the best place to return. 40