The only thing to change are the words. So instead of overspending we call it a deficit. Instead of "spending money" we call it an "investment"
For some reason people would think I'm stupid if I overspend for 30 years and in the belief that one day I'll be ok because I'll earn more.
No, it's called 'investment' because spending money often actually leads to a return greater than the amount spent. If your household bought solar panels and saved money on electricity, then that would be 'investment' since it would save household money. Painting the house might also be an 'investment' since it might increase the resale value of the house. However, buying 100 bottles of expensive champagne is probably not an 'investment'.
When the state spends money on education, research, healthcare, infrastructure, etc., it is 'investing', not spending. An educated and healthy populace creates productive workers and entrepreneurs, research leads to patents, infrastructure leads increased economic activity and increased mobility.
There is a reason why most economists agree you can't cut yourself out of a recession: it reduces economic activity, puts people out of work, decreases tax revenues, and increases welfare costs.