That temptation I had earlier? Dealt with!
Around mid-afternoon I saw the cookies. I wanted the cookies. I told myself, I didn't need the cookies. This cycle went on for an hour or so until, fed up I grabbed all of the boxes and promptly handed them to my boss and coworker and told them to enjoy.
After that, I returned to my desk, elated that I handled the temptation.