My friend is dieting on social media but still eating chocolate

Recently, my friend keeps sharing diet recipes on social media, and I support them, but they also eat chocolate in a corner at night. How should I approach this? I’m chasing my diet too, but I’m not eating any chocolate. Am I overreacting in this situation?