We have not created the heavens and earth, and what between them is, for vanity; such is the thought of the unbelievers, wherefore woe unto the unbelievers because of the Fire! 27 Do We consider the righteously striving believers equal to the evil-doers in the land? Are the pious ones equal to those who openly commit sin? 28 It is a Blessed Book that We have sent down to you (Prophet Muhammad), so that those possessed with minds might ponder its verses and remember. 29 And We bestowed on David, Solomon. How excellent a slave! Lo! he was ever turning in repentance (toward Allah). 30 When they brought fleet-footed chargers in the evening to show him, 31 And he said: Lo! I have preferred the good things (of the world) to the remembrance of my Lord; till they were taken out of sight behind the curtain. 32 "Bring them back to me," and he began to rub and stroke their shanks and necks. 33 Indeed, We tried Solomon and placed a body (of a child) upon his throne, 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 And so We made subservient to him the wind, so that it gently sped at his behest whithersoever he willed, 36 and all the devils who built and dived for him. 37 and others chained in fetters. 38 [We said], "This is Our gift, so grant or withhold without account." 39 And he has a place near to Us, and a fine return. 40