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 Book which We have sent down upon you, a blessed Book, for them to ponder upon its verses, and for men of intellect to accept advice. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 When in the evening were presented to him the standing steeds, 31 he said, "I have put the love of good things above the remembrance of my Lord," until [the sun] disappeared behind its veil and the horses disappeared from sight, 32 Then he said "Bring them (horses) back to me." Then he began to pass his hand over their legs and their necks (till the end of the display). 33 Certainly We tried Solomon, and We cast upon his throne a mere body; then he repented. 34 He said, "O my Lord! Forgive me, and grant me a kingdom which, (it may be), suits not another after me: for Thou art the Grantor of Bounties (without measure). 35 So we subjugated the wind to his service which carried his merchandise wheresoever he wished; 36 and We also subjected the devils to him -- all kinds of builders and divers; 37 And many others bound in bond. 38 [We said], "This is Our gift, so grant or withhold without account." 39 He has a high position with Us and an excellent abode. 40