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 Shall We treat those who believe and work deeds of righteousness, the same as those who do mischief on earth? Shall We treat those who guard against evil, the same as those who turn aside from the right? 28 This is a blessed Book which We sent down to you [Muhammad], for people to ponder over its messages, and for those with understanding to take heed. 29 And We bestowed on David, Solomon. How excellent a slave! Lo! he was ever turning in repentance (toward Allah). 30 When the noble galloping horses were displayed to him one 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 "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 said, “My Lord! Forgive me and bestow upon me a kingdom, which shall not befit anyone after me; indeed only You are the Great Bestower.” 35 Then We subjected the wind to his power, to flow gently to his order, Whithersoever he willed,- 36 and We also subjected the devils to him -- all kinds of builders and divers; 37 and others also, coupled in fetters: 38 (Saying): This is Our gift, so bestow thou, or withhold, without reckoning. 39 And verily for him is an approach with Us, and a happy end. 40