It was not in falsehood that We created the heavens and the earth and all that is between them. That is the thought of the unbelievers. But woe to the unbelievers because of the Fire! 27 Shall We then treat alike those that believe and act righteously and those that create mischief on earth? Or treat alike the God-fearing and the wicked? 28 A Book We have sent down to thee, Blessed, that men possessed of minds may ponder its signs and so remember. 29 We bestowed upon David (an illustrious son), Solomon. How excellent a servant (of Ours he was)! Indeed he constantly turned to Us in devotion. 30 [and even] when, towards the close of day, nobly-bred, swift-footed steeds were brought before him, 31 And he said, "Indeed, I gave preference to the love of good [things] over the remembrance of my Lord until the sun disappeared into the curtain [of darkness]." 32 He said, "Bring them back to me." Then he started to rub their legs and necks. 33 And certainly We tried Sulaiman, and We put on his throne a (mere) body, so he turned (to Allah). 34 saying, "Lord, forgive me and grant me a kingdom that no one after me can have the like. You are All-munificent". 35 So We subjected to him the wind, that ran at his commandment, softly, wherever he might light on, 36 and We also subjected the devils to him -- all kinds of builders and divers; 37 and others linked together in fetters. 38 [We said], "This is Our gift, so grant or withhold without account." 39 He has a high position with Us and an excellent abode. 40