Earlier quoted context omitted.
No you see, the poors are bad people and deserve to be poor. OP identified say $2000 in annual luxuries. If they lived a completely ascetic lifestyle free of wants, that would put them 0.4% closer to buying that $500k house on their $40k annual salary.
Even if it is just 2K (I think closer to 3), that is 5% of their $40K that could go towards food, healthcare and rent (or mortgage).
The median USA income is $40k. Most (not all) people are fully capable of living within their means. They can balance housing+food+medical and even some non essential luxuries. However, they have little slack. A shock to the system (loss of job, car failure, medical problem, or 20% increase in consumer goods within a few months) can force them to make tough choices. Which is where we are now. Basics have gone up, so whatever slack that might have existed has been cut short and people are stressed about how to adapt.
“Annual income twenty pounds, annual expenditure nineteen nineteen and six, result happiness. Annual income twenty pounds, annual expenditure twenty pounds ought and six, result misery”