Delayed gratification, or deferred gratification, is the resistance to the temptation of an immediate pleasure in the hope of obtaining a valuable and long-lasting reward in the long-term.
https://www.tonyrobbins.com/achieve-lasting-weight-loss/delayed-gratification/
https://www.betterup.com/blog/delayed-gratification