Allah is giving us one after the other pieces of advice where he calls it wisdom, holistic wisdom that which if you were to follow you will achieve success of this world and the next. In surat al Al-Isra if you start from verse number 23 and you go on, you will find Allah giving you what is known as hikmah, the wisdom what you need for your entire life.
And your Lord has decreed that you not worship except Him, and to parents, good treatment. Whether one or both of them reach old age [while] with you, say not to them [so much as], “uff,” and do not repel them but speak to them a noble word. (17:23)
Be good kind and respectful to our parents. Respecting does not mean obedience; obedience is only when it is not in the transgression of Allah and it is not usurping any of your rights then you obey.
Allah says that you are related to certain people, We want you to look after them as well.
And give the relative his right, and [also] the poor and the traveler, and do not spend wastefully. (17:26)
Allah Subhanahu WA Ta’ala says don’t be wasteful. When you have two of what you need, one of you are wasting remember that.
Indeed, the wasteful are brothers of the devils, and ever has Satan been to his Lord ungrateful. (17:27)
Shaitan is very ungrateful. So you become ungrateful when you waste and your are extravagant, you become ungrateful regarding the favours of Allah upon you. Then He says and don’t be miserly. Spend in the middle. You need to know how to spend.
And do not make your hand [as] chained to your neck or extend it completely and [thereby] become blamed and insolvent.(17:29)
And do not kill your children for fear of poverty. We provide for them and for you. Indeed, their killing is ever a great sin. (17:31)
Many of us are struggling not because we don’t have what we need but because we don’t have what we want. There is a very big difference. We lose contentment and happiness because we want things it’s not that we need them. Don’t live to show, people you will lose contentment. They will never be happy, you will not be happy. You will fight with your spouse because you can’t afford things
And do not approach unlawful sexual intercourse. Indeed, it is ever an immorality and is evil as a way.(17:32)
Don’t go close to adultery, don’t go close to it because you lose contentment it will be very very tough. if you have fallen seek the forgiveness of Allah he will forgive you. But don’t go close to it.
And do not kill the soul which Allah has forbidden, except by right. And whoever is killed unjustly – We have given his heir authority, but let him not exceed limits in [the matter of] taking life. Indeed, he has been supported [by the law].(17:33)
How can you take away the life that Allah has given in an unjust way? Allah is
reminding you that the giver of the life is Allah who gave you the right to take away life that was given by the same one who gave you your life. Allah is the giver of your life and that life so both lives are equally sacred.
And do not approach the property of an orphan, except in the way that is best, until he reaches maturity. And fulfill [every] commitment. Indeed, the commitment is ever [that about which one will be] questioned.(17:34)
Be an honest person, don’t eat wealth of people the widow’s, the orphan’s, the weak, the downtrodden, the beggars whoever they may be. Don’t steal, don’t deceive you will not achieve contentment when you’ve earned through deception.
And give full measure when you measure, and weigh with an even balance. That is the best [way] and best in result.(17:35)
When you’re doing business, don’t short-change people. Don’t deceive in business it will never ever bring about any goodness.
And do not pursue that of which you have no knowledge. Indeed, the hearing, the sight and the heart – about all those [one] will be questioned. (17:36)
When you follow, don’t follow blindly. You need to have knowledge, improve your knowledge, and increase it. Follow that which you have knowledge regarding, Allah says your hearing, your sight, your heart, your thoughts, all of that you will be questioned about, so try and purify yourself as best as you can.
And do not walk upon the earth exultantly. Indeed, you will never tear the earth [apart], and you will never reach the mountains in height. (17:37)
You are just like everyone else, be humble, be filled with humility, you will be content. the minute your humility is gone, your ego creeps in, your pride comes in you will lose that happiness and contentment. – Mufti Menk