We have not created the heavens and earth, and what between them is, for vanity; such is the thought of the unbelievers, wherefore woe unto the unbelievers because of the Fire! 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 A Book We have sent down to thee, Blessed, that men possessed of minds may ponder its signs and so remember. 29 And We bestowed on David, Solomon. How excellent a slave! Lo! he was ever turning in repentance (toward Allah). 30 When his dressage steeds were presented to him in the evening, 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 then ordered, “Bring them back to me”; and he began caressing their shins and necks. 33 Surely We put Solomon to the test and cast upon his throne a mere body. Thereupon he penitently turned (to Us). 34 he prayed: "O my Sustainer! Forgive me my sins, and bestow upon me the gift of a kingdom which may not suit anyone after me: verily, Thou alone art a giver of gifts!" 35 So, We subjected to him the wind, it blew gently to his order whithersoever he willed, 36 and all the devils who built and dived for him. 37 As also others bound 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