Kindness, dilemmas, oh dear more of them!

Someone was quite rude to me the other day. Instead of reacting adversly, I apologised and said sorry if I offended you. I think I just pandered to his ego and rewarded babd behaviour. It’s such a marginal call, to reprimand or the walk away. :/
Oh and finaly, life doesn’t provide the time to really consider the best option before you react!