Not without purpose did We create heaven and earth and all between! that were the thought of Unbelievers! but woe to the Unbelievers because of the Fire (of Hell)! 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 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 To David We gave Solomon (for a son),- How excellent in Our service! Ever did he turn (to Us)! 30 When there were brought to him in the evening (horses) still when standing, swift when running-- 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." then began he to pass his hand over (their) legs and their 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 grant me a kingdom such as will not belong to anyone after me. Indeed, You are the Bestower." 35 We made the wind subservient to him, to blow gently wherever he desired at his command 36 And also the Shayatin (devils) from the jinns (including) every kind of builder and diver, 37 And others linked together in chains, 38 This is Our gift, so bestow thou or withhold, without rendering an account. 39 And most surely he had a nearness to Us and an excellent resort. 40