There have been several studies on the correlation between income/wealth and empathy.
https://blog.ted.com/6-studies-of-money-and-the-mind/
It's easy to have empathy for people like you or that you agree with, but the real test is having empathy for those who aren't / you don't.