Depends on what you consider to be a good person. For me, I try to be ethical and considerate of others, to not make everything about me, but neither to take on and own their stuff. The older I get, it's more about my character, and it's more about my posture than my heart. It makes my heart feel good when my character is good and when its efforts are rewarded or appreciated. And when they're not, I remain upright in spite of whatever is thrown at me, and feel good about that even if the throwing feels bad.
The Stoic philosopher Epictetus said the purpose of virtue is for life to flow more smoothly. The Five Precepts of Buddhism are a gift to others so that they are safer. In both cases, it's about reciprocity, sharing the space of life with others, and respect for boundaries. In fact, one contemporary Buddhist source I read said that the precepts are about social order and natural law, and noted that most people who are rightly convicted are punished for having broken precepts -- murder, lying, stealing, sexual misconduct, and intoxication that lowers one's inhibitions against breaking precepts, which also hurts the self.
If someone is not reciprocal with me and does not respect my boundaries, I do my my best to maintain ethics and consideration anyway. It keeps me out of trouble. As far as being "good," I try to rise above feeling offended and wish for their well-being, happiness, and equanimity, because I believe that when someone has those things, they don't need to harm others. It is indeed an act of my heart, but it also strengthens my character. Sometimes I do get offended, sometimes I do react, and sometimes in life I act in error, but in my efforts to be a person of good character, I don't beat myself up. I don't condemn myself to a prison. Instead, I do my best to recognize when I've been in error, learn from it, be more conscientious, and do better moving forward. I think the world would be a better place if everyone tried that, rather than condemning themselves and giving up. We all make errors, both big and small. It is part of life. What we do after our errors is often a reflection of our character. So I try to have good character, and sometimes gently laugh at myself when I do not. Because, really, life and humans are all ridiculous.
And, yes, all of this brings me some happiness when life is otherwise shit. And if not happiness, then equanimity, so I can then better manage the storms. It brings me some sense of well-being in the midst of and in spite of hell.