Al-Imam Ali (p.b.u.h), said:
Hadith n. 130
When Amir al-mu’minin, peace be upon him, returned from (the battle of) Siffin and noticed the graves outside Kufah, he said: O residents of houses which give a sense of loneliness, of depopulated areas and gloomy graves. O people of the dust, O victims of strangeness, O people of loneliness and O people of desolateness! You have gone ahead and preceded us while we are following you and will meet you. The houses (you left) have been inhabited by others; the wives (you left) have been married by others; the properties have been distributed (among heirs). This is the news about those around us; what is the news about things around you?
Then Amir al-mu’minin, peace be upon him, turned to his companions and said: Beware! If they were allowed to speak they would inform you that:
Verily, the best provision is fear of Allah. (Qur’an, 2:197)
Hadith n. 131: About Those Who Falsely Accuse This World
Amir al-mu’minin, peace be upon him, heard a man abusing the world and said: O you who abuse the world, O you who have been deceived by its deceit and cheated by its wrongs. Do you covet the world and then abuse it? Do you accuse it or should it accuse you? When did it bewilder you or deceive you whether by the decay and fall of your forefathers, or by the sleeping places of your mothers under the ground? How much you looked after them in their illness and nursed them during sickness, desiring them to be cured and consulting physicians for them in the morning when your medicine did not avail them and your wailing for them did not benefit them. Your mourning over them did not prove useful to them and you could not achieve your aims. You could not ward off (death) from them with all your power. In fact, through the dying man the world presented an illustration for you and showed you by the example of his falling down how you would (also) fall.
Certainly, this world is a house of truth for him who appreciates it; a place of safety for him who understands it; a house of riches for him who collects provision from it (for the next world); and a house of instructions for him who draws instruction from it. It is the place of worship for the lovers of Allah; the place of praying for the angels of Allah; the place where the revelation of Allah descends; and the marketing place for those devoted to Allah. Herein they earned mercy and herein they acquired Paradise by way of profit.
Therefore, who can abuse it when it has announced its departure and called out that it would leave! It had given news of its own destruction and the death of its people. By its hardship, it set an example of their hardships. By its pleasures, it created eagerness for the pleasures (of the next world). It brings ease in the evening and grief in the morning by way of persuasion, dissuasion, alarm, and warning. People abuse it on the morning of their repentance but there are others who will praise it on the Day of Judgement. The world recalled to them the next life and they bore it in mind. It related to them (things of the next life) and they acknowledged them. It preached to them and they took lessons therefrom.
Source: https://www.al-islam.org/nahjul-balagha-part-2-letters-and-sayings