Make the cheaper
choice easier.
The easiest option usually wins. If ordering food takes two taps and cooking requires planning, the decision has already been made before you even think about it.
Change the setup instead of relying on willpower. Keep simple ingredients at home. Carry a water bottle. Pack tomorrow's lunch while you're already making dinner. Remove saved cards from shopping apps if they make impulse purchases too easy.