AND [thus it is:] We have not created heaven and earth and all that is between them without meaning and purpose, as is the surmise of those who are bent on denying the truth: but then, woe from the fire [of hell] unto all who are bent on denying the truth! 27 [For,] would We treat those who have attained to faith and do righteous deeds in the same manner as [We shall treat] those who spread corruption on earth? Would We treat the God-conscious in the same manner as the wicked? 28 [All this have We expounded in this] blessed divine writ which We have revealed unto thee, [O Muhammad,] so that men may ponder over its messages, and that those who are endowed with insight may take them to heart. 29 And to David We gave Solomon. An excellent servant, indeed he was one repeatedly turning back [to Allah]. 30 And when one evening well-trained and running horses of noble breed were brought to him 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 "Bring them back to me!" -- [he said] and began to stroke their legs and their necks. 33 Surely We put Solomon to the test and cast upon his throne a mere body. Thereupon he penitently turned (to Us). 34 saying, "Lord, forgive me and grant me a kingdom that no one after me can have the like. You are All-munificent". 35 So We subjected the wind to him, so that it ran softly by his command wherever he wished; 36 And made the demons subservient to him, all builders and divers. 37 And many others bound in bond. 38 This is Our gift, so bestow thou or withhold, without rendering an account. 39 And verily for him is an approach with Us, and a happy end. 40