We have not created the heavens and the earth and all that lies between them, all for nothing. Only those who deny imagine so. So for the unbelievers there is woe from the fire. 27 shall We treat those who believe and do good works the same as those who spread corruption in the land; shall We treat the pious the same 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 We bestowed on David, Solomon. How excellent a slave! Lo! he was ever turning in repentance (toward Allah). 30 And when one evening well-trained and running horses of noble breed were brought to him 31 And he said: Lo! I have preferred the good things (of the world) to the remembrance of my Lord; till they were taken out of sight behind the curtain. 32 Bring them back unto me; and he set about slashing their legs and necks. 33 But [ere this,] indeed, We had tried Solomon by placing upon his throne a [lifeless] body; and thereupon he turned [towards Us; and] 34 He said: My Lord! Forgive me and bestow on me sovereignty such as shall not belong to any after me. Lo! Thou art the Bestower. 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 other demons bound in chains. 38 This is Our gift, so bestow thou or withhold, without rendering an account. 39 In Our eyes he certainly has a high position and the best place to return. 40