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 make those who believe and work righteous works like unto the corrupters in the earth; or shall We make the God-fearing like unto the wicked! 28 This is the Blessed Book that We have revealed to you, (O Muhammad), that people with understanding may reflect over its verses and those with understanding derive a lesson. 29 We gave Solomon to David; and he was an excellent worshiper, he was penitent. 30 When the noble galloping horses were displayed to him one evening, 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 He said, "Bring them back to me." Then he started to rub their legs and necks. 33 Certainly We tried Solomon, and We cast upon his throne a mere body; then he repented. 34 He said, "O my Lord! Forgive me, and grant me a kingdom which, (it may be), suits not another after me: for Thou art the Grantor of Bounties (without measure). 35 So we subjugated the wind to his service which carried his merchandise wheresoever he wished; 36 and the satans, every builder and diver 37 And others bound in fetters. 38 [We said], "This is Our gift, so grant or withhold without account." 39 And he has a place near to Us, and a fine return. 40