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 Are We to make those who believe and do good works the same as those who corrupt the earth? Are We to make the righteous as the wicked? 28 This is the Blessed Book that We have revealed to you, (O Muhammad), that people with understanding may reflect over its verses and those with understanding derive a lesson. 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 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 Return them to me!' And he began to stroke their shanks 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 none other after me will deserve. Surely You are the Bounteous Giver.” 35 So We subjected to him the wind, that ran at his commandment, softly, wherever he might light on, 36 and all the devils who built and dived for him. 37 and others joined together by (iron) fetters. 38 [And We told him:] "This is Our gift, for thee to bestow freely on others, or to withhold, without [having to render] account!" 39 And verily, he enjoyed a near access to Us, and a good final return (Paradise). 40