When someone, even if someone with a lot of religious knowledge, gives advice such as “don’t get depressed” and they are talking about losing a child,
please know that it is very probable that they have not yet faced any tragedy in life.
Do not hold it against them, but also do not hold their words against yourself.
Depression and losing faith in Allah swt are two very different things.
Sometimes, we fall deep in the abyss of grief because of some sorrow that befalls us – connect to others who have faced similar grief – because only they will be able to understand fully.
And connect with those who have strong faith within that group too, for together you can act on the ayahs
By time, (1) Indeed, mankind is in loss, (2) Except for those who have believed and done righteous deeds and
advised each other to truth and advised each other to patience. (3)