Painful situation and feeling of sorrow - two different things
Painful situations are inevitable in life, but suffering is your choice
Favourable, unfavourable or painful situations arise in life as a result of our past karmas (deeds) but feeling good or bad in these situations, is our free will. Result of past karmas is never in the form of feelings. You have the power to control your feelings and keep them separated from situations.
Through good and bad feelings we generate new Karma and that new karma results in new situation. In the new situation we would again develop new feelings and thus we get caught in the vicious cycle of karma (feeling) and karma result (situation).
YOU CAN'T CONTROL OTHERS' ACTS, BUT YOU CAN CONTROL YOUR REACTION TO THEIR ACTS, AND THAT IS WHAT COUNTS MOST TO YOU.
No one can make you feel any negative emotion - fear, anger, or inferior - without your express permission. There will always be people who find perverse enjoyment in upsetting others, or who simply play upon your emotions so that they can use you for their own selfish purposes. Whether or not they are successful depends entirely upon you and how you react to their negative behaviors. When you are forced to deal with such people, recognize from the outset that they are trying to upset you, not because of something you may have done to them, but because of some problem they have with themselves.
Tell yourself: "This isn't about me. I will not allow this person to upset me. I am in control of my emotions and my life".