We gave wisdom to Luqman so that he would give thanks to God. Those who give thanks to God do so for their own good. Those who are ungrateful should know that God is Self-sufficient and Praiseworthy. 12 (Remember) when Luqman counselled his son: "O son, do not associate any one with God. To associate others with God is a grievous wrong." 13 And We have enjoined upon man concerning his partners - His mother beareth him in weakness upon weakness, and his weaning is in two years - Give thanks unto Me and unto thy parents. Unto Me is the journeying. 14 But if they strive with thee to make thee ascribe unto Me as partner that of which thou hast no knowledge, then obey them not. Consort with them in the world kindly, and follow the path of him who repenteth unto Me. Then unto Me will be your return, and I shall tell you what ye used to do - 15 (Luqman said): “Son, Allah will bring forth everything even if it be as small as the grain of a mustard seed even though it be hidden inside a rock or (anywhere) in the heavens or earth. Allah is Most Subtle, All-Aware. 16 "O my son! establish regular prayer, enjoin what is just, and forbid what is wrong: and bear with patient constancy whatever betide thee; for this is firmness (of purpose) in (the conduct of) affairs. 17 And do not turn your cheek [in contempt] toward people and do not walk through the earth exultantly. Indeed, Allah does not like everyone self-deluded and boastful. 18 "And be moderate (or show no insolence) in your walking, and lower your voice. Verily, the harshest of all voices is the voice (braying) of the ass." 19