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 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 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 there were shown to him at eventide lightfooted coursers 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 [He said], "Return them to me," and set about striking [their] legs 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 said: My Lord! do Thou forgive me and grant me a kingdom which is not fit for (being inherited by) anyone after me; 35 So, We subjected to him the wind, it blew gently to his order whithersoever he willed, 36 And We subjected to him the evil ones: every builder and diver. 37 and others also, coupled in fetters: 38 'This is Our gift; bestow or withhold without reckoning.' 39 And he had a near place in Our presence and a fair resort. 40