We should do good for the sake of goodness, not in order to become a 'good person.'
If you are a 'good person,' then you will suffer.
Just be a human being. Otherwise you will always be annoyed by those who are not 'good people.'
The Buddha taught non-attachment. We should not even be attached to goodness because it leads to suffering.