Remember how hard it was to claw my way out of debt. I remember how painful it was being unemployed for 9 months, coasting along for the first 3 thinking I'd be fine since I had 7 months' savings plus unemployment for 6 months, then the unemployment and savings running out, then the credit cards getting maxed out, finally finding a job and clawing my way out of debt in a year.
I also keep a written monthly budget on my phone (EveryDollar App), and I put every penny I spend into the app. Before I buy anything I look to see if it's in the budget. If it's not then I either have to not get it, plan to save up for it, or not spend somewhere else and modify the budget accordingly. But I also have "poor kid syndrome" so I'm always horrified of being broke even if I've got a good job and money saved up.
Also work with cash - once it's gone it's gone for the month. Remembering that you can't spend more than you make. Remembering I can't afford it…
So let me know how you stay focused and inspired when you're tempted to go off your budget.