what philosophy blames the poor for their economic situation?

In my opinion, any philosophy that blames the poor for their economic situation is a stupid philosophy.

You might be talking about "social Darwinism" which is a ridiculous misreading of Darwin's theory of evolution.