And We have not created the heaven and the earth and all that is between them without purpose; this is what the disbelievers assume; therefore ruin is for the disbelievers, by 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 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 David We gave Solomon. An excellent servant, indeed he was one repeatedly turning back [to Allah]. 30 [Mention] when there were exhibited before him in the afternoon the poised [standing] racehorses. 31 he would say: "Verily, I have come to love the love of all that is good because I bear my Sustainer in mind!" [repeating these words as the steeds raced away,] until they were hidden by the veil [of distance - whereupon he would command,] 32 Then he said "Bring them (horses) back to me." Then he began to pass his hand over their legs and their necks (till the end of the display). 33 Indeed, We tried Solomon and placed a body (of a child) upon his throne, then he repented. 34 He said, "My Lord, forgive me and grant me a kingdom such as will not belong to anyone after me. Indeed, You are the Bestower." 35 Then We made the wind subservient to him; it made his command to run gently wherever he desired, 36 And also the Shayatin (devils) from the jinns (including) every kind of builder and diver, 37 The rest of the devils were bound in chains. 38 "This is Our gift," (We said to him), "so bestow freely or withhold without reckoning." 39 And verily for him is an approach with Us, and a happy end. 40