AND [thus it is:] We have not created heaven and earth and all that is between them without meaning and purpose, as is the surmise of those who are bent on denying the truth: but then, woe from the fire [of hell] unto all who are bent on denying the truth! 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 a Book which We have sent down upon you, a blessed Book, for them to ponder upon its verses, and for men of intellect to accept advice. 29 We gave Solomon to David; and he was an excellent worshiper, he was penitent. 30 When there were brought to him in the evening (horses) still when standing, swift when running-- 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 "Bring them back to me!" -- [he said] and began to stroke their legs and their necks. 33 Certainly We tried Solomon, and We cast upon his throne a mere body; then he repented. 34 He said, 'My Lord, forgive me, and give me a kingdom such as may not befall anyone after me; surely Thou art the All-giver.' 35 Then We subjected to him the wind: it ran gently by his command withersoever he directed. 36 And [also] the devils [of jinn] - every builder and diver 37 And other demons bound in chains. 38 [We said], "This is Our gift, so grant or withhold without account." 39 Indeed an exalted position of nearness awaits him and an excellent resort. 40