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 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 This is the Blessed Book that We have revealed to you, (O Muhammad), that people with understanding may reflect over its verses and those with understanding derive a lesson. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 When well-bred horses, which were fleet of foot were paraded before him near the close of day, 31 And he said: "Alas! I did love the good (these horses) instead of remembering my Lord (in my 'Asr prayer)" till the time was over, and (the sun) had hidden in the veil (of night). 32 Return them to me!' And he began to stroke their shanks and necks. 33 And, indeed We did try Sulaiman (Solomon) and We placed on his throne Jasadan (a devil, so he lost his kingdom for a while) but he did return (to his throne and kingdom by the Grace of Allah and he did return) to Allah with obedience and in repentance. 34 Saying: "O Lord, forgive me, and give me such a dominion as none will merit after me. You are the great bestower." 35 We made the wind subservient to him, to blow gently wherever he desired at his command 36 And [also] the devils [of jinn] - every builder and diver 37 And others linked together in chains, 38 We said: "This is Our gift, so give or withhold as you wish without reckoning." 39 And verily, nearness to Us awaits him [in the life to come,] and the most beauteous of all goals! 40