massive welfare for blacks

My learning partner said the problem in the USA  is virtue signaling. That is it is considered good to show compassion therefore the middle class largely voted for massive welfare for blacks because voting for compassion makes them feel good. And the costs were thought to be distributed among a lot of people. So voting in such a way did not directly hurt the person voting immediately.