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 Or shall We make those who believe and do righteous deeds as the workers of corruption in the earth, or shall We make the godfearing as the transgressors? 28 A Book We have sent down to thee, Blessed, that men possessed of minds may ponder its signs and so remember. 29 To David We gave Solomon (for a son),- How excellent in Our service! Ever did he turn (to Us)! 30 [Mention] when there were exhibited before him in the afternoon the poised [standing] racehorses. 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, "Bring them back to me." Then he started to rub their legs and necks. 33 And verily We tried Solomon, and set upon his throne a (mere) body. Then did he repent. 34 He said: "My Lord! Forgive me, and bestow upon me a kingdom such as shall not belong to any other after me: Verily, You are the Bestower." 35 So We subjected to him the wind blowing by his command, gently, wherever he directed, 36 And the devils -- the builders and divers of all kinds, 37 and others also, coupled in fetters: 38 [And We told him:] "This is Our gift, for thee to bestow freely on others, or to withhold, without [having to render] account!" 39 And he has a place near to Us, and a fine return. 40