Generational trauma: knowing that my mother experienced the same feelings as I did breaks my hearth

I don't know how to address this, but even if my parents, especially my mom) messed me up, I know it wasn't on purpose and more the result of strong generational traumas. Even if still today at 36 she makes me mad and she hurts me, I feel deep love for her and extreme sadness thinking about her life and how hard her childhood must have been. She is born in the 50' in a poor rural area, she and her 3 sisters lost their father when they were very young and their mother got depressed spending her whole life grumpy, unhappy and in bed mainly mourning the male child she didn't had (yes, being a woman is soooo hard in my family). She never learned love and I am not sure she even was happy in her life. And that breaks me to tears. She is the main reason I am in therapy but especially since becoming a mother myself, I struggle a lot thinking about her and how hard it probably was for her. It hurts so bad.