It's not about the nail
When someone else has an issue, it can often be a reflex action to focus on what you see as their problem, and start giving advice. The best solution is more often to listen, properly listen.
https://motivationandchange.com/no-really-not-nail/
https://bringchange2mind.org/2014/10/09/its-not-about-the-nail/
https://www.f5fp.com/its-not-about-the-nail/
https://www.f5fp.com/its-not-about-the-nail/