Another suggestion, known as the altruism theory of voting, is that voters are rational but not fully egoistic.
A different idea, called the altruism theory of voting, suggests that voters are rational but not purely self-serving.