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 Do We consider the righteously striving believers equal to the evil-doers in the land? Are the pious ones equal to those who openly commit sin? 28 This is a Book We have sent down unto thee, blest, that they may ponder the revelations thereof, and that there may be admonished men of understanding. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 [Mention] when there were exhibited before him in the afternoon the poised [standing] racehorses. 31 he said, 'Lo, I have loved the love of good things better than the remembrance of my Lord, until the sun was bidden behind the veil. 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 Indeed, We tried Solomon and placed a body (of a child) upon his throne, then he repented. 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 subjected the wind to his power, so that it blew gently, at his behest, wherever he willed, 36 and also the jinn, every kind of builder and diver 37 And others fettered in chains. 38 "This is Our gift," (We said to him), "so bestow freely or withhold without reckoning." 39 His reward will be nearness to Us, a good place to return to. 40