Yes I did something good for a bad person and now I feel like shit

Discuss. Obviously being nice to homophobic Palestinians, or douchebag homeless people is cool but where do you draw the line based on how shitty a person is and how shitty their conditions are?