Is being "good" worth it?

I don't understand it and am giving up. I did everything I was supposed to do growing up to the best of my abilities. I followed all the rules and was considered by everyone else's standards to be the perfect child. I struggled with education because of a learning disability but also because I was homeschooled and my parents concerned my education to what they felt like I only needed to learn.
I was raised heavily religious to where I believed I'd go to hell for any little misstep.
I was bullied by literally everyone in any social setting like camps, groups, and sports.
I worked my ass off at every job I've had and yet still make shit pay.
I've literally done any and everything for friends who always leave me and stab me in the back.
I pray to a God who never seems to hear my prayers but will always show up for everyone around me.
I just don't seem to see the fruits or benefits of being good per say and doing the right thing or being a good person. Nothing ever seems to work out no matter how much i try to make the best out of the situation in which im in. I was always taught that if I did the right thing and made the morally right decisions that life would go well for me but those i knew growing up and even as adults now who cut corners, lied, cheated, and stole seem to have life made for them now that we're all adults now.
Do you feel like making the right moral choices in life have benefited you in any way?
Is being "good" worth it?
Post Opinion