And We did not create the heaven and the earth and what is between them in vain; that is the opinion of those who disbelieve then woe to those who disbelieve on account of the fire. 27 Shall We make those who believe and do good deeds equal to those who spread turmoil in the earth? Or shall We equate the pious with the disobedient? 28 This is a blessed Book which We sent down to you [Muhammad], for people to ponder over its messages, and for those with understanding to take heed. 29 To David We gave Solomon (for a son),- How excellent in Our service! Ever did he turn (to Us)! 30 When there were shown to him at eventide lightfooted coursers 31 Then he said: Surely I preferred the good things to the remembrance of my Lord-- until the sun set and time for Asr prayer was over, (he said): 32 Bring them back to me; so he began to slash (their) legs and necks. 33 We tried Solomon by placing upon his throne a [lifeless] body; and thereupon he turned towards Us]. 34 He said, 'My Lord, forgive me, and give me a kingdom such as may not befall anyone after me; surely Thou art the All-giver.' 35 Then We subjected the wind to his power, so that it blew gently, at his behest, wherever he willed, 36 And [also] the devils [of jinn] - every builder and diver 37 The rest of the devils were bound in chains. 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 lo! he hath favour with Us, and a happy journey's end. 40