I do that too, but the truth is that the "healthy" food will not justify the "unhealthy" food

I don't mean to tell you that like you don't know it; I'm mostly preaching to myself!
But something that helped me was "train, don't try". Training makes room for off days/growing/mistakes (not justifying mistakes, but giving yourself grace when they happen), whereas trying is is a pass/fail, and too often we fail ourselves without really giving us a chance.
okay, I'm done now. Hope you're having a better day today!