The idea that dogs shouldn't have "human food" doesn't make sense.
Sure, don't give dogs twinkies, but for that matter, don't give humans twinkies either. The idea makes it seem like dogs are aliens or something. Dog food ingredients are usually meat, grain and veggies, just like our meals. Food that is healthy for you is healthy for your dog, and vice versa.
Saying "food that is healthy for you is healthy for your dog" is absolutely not true, there are plenty of fruits & vegetables that are great for people, but terrible for dogs. For example, this article lists 19 fruits & veggies that are harmful for dogs - https://iheartdogs.com/10-veggies-fruits-that-are-harmful-to-dogs/
Ohh the drama. If you read the article you'll see most of those plants are only toxic to dogs if you eat the stems, leafs, or seeds. Clickbaity article. Of course there are some exceptions like onion and chocolate.