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 treat those who believe and do good works as those who spread corruption in the earth; or shall We treat the pious as the wicked? 28 We have sent down a Book to you which is blessed, so that people may apply their minds to its revelations, and the men of wisdom may reflect. 29 And to Dawud (David) We gave Sulaiman (Solomon). How excellent (a) slave! Verily, he was ever oft-returning in repentance (to Us)! 30 When in the evening were presented to him the standing steeds, 31 He said: verily I have loved the love of earthly good above the remembrance of my Lord until the sun hath disappeared behind the veil. 32 "Bring them back to me!" -- [he said] and began to stroke their legs and their 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 prayed, "Lord forgive me! Grant me such power as no one after me will have -- You are the Most Generous Provider." 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 And [also] the devils [of jinn] - every builder and diver 37 and others linked together in fetters. 38 We told him, "This is Our gift to you so give them away free or keep them as you like". 39 And verily for him is an approach with Us, and a happy end. 40