It’s okay if you indulge once in a while. Like the caption says, balance things out. Enjoy a cookie or two, just don’t make it your meal. As long as you’re making healthy choices for most of your days (including exercise), you’ll be fine.
Don’t deprive yourself. Don’t set yourself up for failure.