We did not create this heaven and earth and all that lies between them in vain. That is the fancy of those who denied the Truth. So woe from the Fire to all who deny the Truth. 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 blessed Book which We sent down to you [Muhammad], for people to ponder over its messages, and for those with understanding to take heed. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 When well-bred horses, which were fleet of foot were paraded before him near the close of day, 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 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 upon me a kingdom such as shall not belong to any other after me: Verily, You are the Bestower." 35 So We subjected to him the wind blowing by his command, gently, wherever he directed, 36 And [also] the devils [of jinn] - every builder and diver 37 and others that were bound with chains. 38 [Saying of Allah to Sulaiman (Solomon)]: "This is Our gift, so spend you or withhold, no account will be asked." 39 Indeed an exalted position of nearness awaits him and an excellent resort. 40