An effective solution to this problem is to anticipate temptation and create constraints (“commitment devices”) that disrupt this cycle. Whenever you do something that reduces your own freedoms in the service of a greater goal, you’re using a commitment device.