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 work deeds of righteousness, the same as those who do mischief on earth? Shall We treat those who guard against evil, the same as those who turn aside from the right? 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 And to David We gave Solomon. An excellent servant, indeed he was one repeatedly turning back [to Allah]. 30 Recall what time there were presented unto him, at eventide, coursers swift-footed. 31 he said: “Lo! I have come to love this wealth on account of the remembrance of my Lord.” And when the horses disappeared, 32 "Bring them back unto me!" - and would [lovingly] stroke their legs and their 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 So We subjected to him the wind, that ran at his commandment, softly, wherever he might light on, 36 And the unruly, every builder and diver (made We subservient), 37 And others bound together in shackles. 38 [And We told him:] "This is Our gift, for thee to bestow freely on others, or to withhold, without [having to render] account!" 39 And most surely he had a nearness to Us and an excellent resort. 40