Soo here is my situation can anyone help me?

This is my first relationship since i never really dated anyone in my school life, i dont want to specify my age but am above 18, and here is the thing, my girlfriend is going through a hard time, and in the past she went through some hard times as well and whenever like i tried to be there for her it just wasn't enough, i tried to be a listener that made her think am not interested in her anymore, i tried to find a solution together with her so she dosent feel alone but then she felt like am not a good listener, when i tried to tell her about my past when she was in hard times because were kinda in the same situation, she felt like am making her feel weak by making her problems seems small, i wanna take care of her how i took care of myself during my hard times but am a guy (not trying to be sexist just telling my gender), i was never told to take care of myself, i would just wipe my tears off and be just completely normal infront of everyone, I was mostly like fuck it I find a way to be fine always anyways, soo I dont really know how to take care of her, can anyone tell me what can i do? I just wanna be there for her the right way and make her alright.

Soo here is my situation can anyone help me?
Post Opinion