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 [All this have We expounded in this] blessed divine writ which We have revealed unto thee, [O Muhammad,] so that men may ponder over its messages, and that those who are endowed with insight may take them to heart. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 When in the evening were presented to him the standing steeds, 31 Then he said: Surely I preferred the good things to the remembrance of my Lord-- until the sun set and time for Asr prayer was over, (he said): 32 "Bring them back to me," and he began to rub and stroke their shanks and necks. 33 Certainly We tried Solomon, and We cast upon his throne a mere body; then he repented. 34 He said, "My Lord, forgive me and grant me a kingdom such as will not belong to anyone after me. Indeed, You are the Bestower." 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 As also the evil ones, (including) every kind of builder and diver,- 37 and others that were bound with chains. 38 We told him, "This is Our gift to you so give them away free or keep them as you like". 39 In Our eyes he certainly has a high position and the best place to return. 40