We have not created the heavens and the earth and all that lies between them, all for nothing. Only those who deny imagine so. So for the unbelievers there is woe from 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 We have sent down a Book to you which is blessed, so that people may apply their minds to its revelations, and the men of wisdom may reflect. 29 And We gave unto David Solomon; how excellent a servant he was! He was a penitent. 30 When in the evening were presented to him the standing steeds, 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 Then he said "Bring them (horses) back to me." Then he began to pass his hand over their legs and their necks (till the end of the display). 33 And verily We tried Solomon, and set upon his throne a (mere) body. Then did he repent. 34 He said: My Lord! do Thou forgive me and grant me a kingdom which is not fit for (being inherited by) anyone after me; 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 And We subjected to him the evil ones: every builder and diver. 37 As also others bound together in fetters. 38 (Saying): This is Our gift, so bestow thou, or withhold, without reckoning. 39 And verily for him is an approach with Us, and a happy end. 40