Anger, Self-Loathing, and misguided Hate
Anger is like a fire. They're a useful yet dangerous tool that burns and breaks stuff. When handled correctly, fire can shine light in the dark, give warmth in the cold, cook meals for the hungry, or protect you from wolves. In other words, a well controlled Anger is good at getting work done.
Not everyone has learned how to manage their Anger properly. Some let their Anger go too dim, making it hard to do stuff. Some redirect their Anger at themselves, out of fear of hurting others or believing they deserve it. Some let their Anger spread without a care of who it hurts, as long as it gets the job done. Some learn to concentrate their Anger into a beam of Hate, but don't know who or what to aim the beam at.
Going back to the question "why do people vote against their own interests?" It is Self-Loathing. It is people who are so used to having a piece of themselves set on fire by others that they start setting themselves on fire of their own volition. It is misguided Hate. It is people who know there's a problem and want to fix it, but have been misled about the source of the problems by people who are interested in not getting targeted by Hate.
"Why do they vote to benefit the rich?" We don't have a choice there when either vote would have benefited the rich and powerful anyway. Just choosing between different types of benefits. Money and Power have a tendency to rise upwards, so any aid we give to those struggling at the bottom will end up benefiting those at the top anyway. But I hear ya, giving benefits to the poor and letting it rise away still beats just giving it to the rich and hoping it'll trickle down someday.