Does This Count?

I have a September goal to lose 10 pounds and created for myself a protocol.
This morning I felt an urge to have a scone and hurried to Whole Foods. They did not have a scone so I bought a bag of cookies and one muffin and went home to eat it.
I made myself a coffee and ate two cookies and suddenly I felt genuinely like I don’t want it.
And then I almost had an inside conversation, where one part said, ‘Well, you already bought it, you’re not going to just throw it away.’
And then another part said, ‘Why not actually?’
And I got up and threw them all to the trash (outside my apartment) and did not even feel deprived or anything. It felt like self-care.

I believe it doesn’t count as allowed urge, because I failed miserably, right?