We did not create heaven and earth and all that is between them in vain. That is the opinion of those who deny the truth. Woe betide those who deny the truth, when they are cast into the Fire -- 27 Shall We treat those who believe and work deeds of righteousness, the same as those who do mischief on earth? Shall We treat those who guard against evil, the same as those who turn aside from the right? 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 bestowed upon David (an illustrious son), Solomon. How excellent a servant (of Ours he was)! Indeed he constantly turned to Us in devotion. 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 He then ordered, “Bring them back to me”; and he began caressing their shins 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 And so We made subservient to him the wind, so that it gently sped at his behest whithersoever he willed, 36 And made the demons subservient to him, all builders and divers. 37 and others that were bound with chains. 38 "Such are Our Bounties: whether thou bestow them (on others) or withhold them, no account will be asked." 39 And verily for him is an approach with Us, and a happy end. 40