At a moderate $80k USD developer salary, the laptop costs only 0.5% of that. And this is the main tool you depend on to earn an income. For an underpaid junior developer earning $40k it's still only 1% of their income.
10% of an average developer salary is something like $8k per year. What laptop costs $8k per year? That's $40k after five years. Are you confusing a laptop with a new Mercedes or what?
Laptops are a business expense for a developer. This is how you need to think about it.