The grave is a person's final destination and a silent declaration of the reality of the world. When a person walks in this world with the pride, power, and desires of their life, the grave reminds them that the end is the same for everyone. Neither wealth goes with you, nor position, nor status, only deeds go with you.
The grave silently teaches us that this world is temporary and the real life is the afterlife. Here a person is alone, neither friends are of use nor relationships, only those good deeds become light and accompany them that they have done in the world. That is why the wise person is the one who remembers the grave and improves their character.
The concept of the grave creates humility in a person's heart, prevents them from sins, and inclines them towards goodness. The person who remembers the grave does not get lost in the glitter of the world, but takes every step thoughtfully.
In the end, it can be said that the grave teaches us the purpose of life. If we live in this world according to the will of Allah, then the grave can become a door to mercy and peace instead of a place of fear.