We have not created the heavens and the earth and all that lies between them, all for nothing. Only those who deny imagine so. So for the unbelievers there is woe from the fire. 27 Shall We treat those who believe and do good like the mischief-makers in the earth? Or shall We make those who guard (against evil) like the wicked? 28 A Book We have sent down to thee, Blessed, that men possessed of minds may ponder its signs and so remember. 29 We granted Solomon to David, a blessed servant of Ours and certainly the most repentant person. 30 When fast footed steeds were presented to him at evening. 31 He said: "The love of horses is worthy of desire to me for the remembrance of my Lord;" and when they were out of sight, (he said): 32 "Bring them back to me," and he began to rub and stroke their shanks 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! do Thou forgive me and grant me a kingdom which is not fit for (being inherited by) anyone after me; 35 We subjected the wind to him, so that it blew gently at his bidding, wherever he directed it, 36 And made the demons subservient to him, all builders and divers. 37 And others fettered in chains. 38 This is Our free gift, therefore give freely or withhold, without reckoning. 39 And verily, he enjoyed a near access to Us, and a good final return (Paradise). 40