MC who is undeniably good and inspires hope

I have read so many stories where the main character is an edge lord, anti-hero, or just outright villainous, and I'm kind of bored with that trope. I want a story where the main character is undeniably good and remains good, even if it possibly leads to their detriment. Please help!