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 Are We to make those who believe and do good works the same as those who corrupt the earth? Are We to make the righteous as the wicked? 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 And to Dawud (David) We gave Sulaiman (Solomon). How excellent (a) slave! Verily, he was ever oft-returning in repentance (to Us)! 30 Behold, there were brought before him, at eventide coursers of the highest breeding, and swift of foot; 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 hacked their legs and necks (slaughtering them for Allah). 33 But [ere this,] indeed, We had tried Solomon by placing upon his throne a [lifeless] body; and thereupon he turned [towards Us; and] 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 We therefore gave the wind under his control, moving steadily by his command wherever he wished. 36 And made the demons subservient to him, all builders and divers. 37 and others that were bound with chains. 38 “This is Our bestowal – you may therefore bestow favours or withhold them – you will not be questioned.” 39 And verily for him is an approach with Us, and a happy end. 40