Correct. And there is scientific proof of this fact.
Observe:
I Could Eat Garlic Bread For Every Meal
Fact: Dogs shouldn’t eat garlic bread.
(https://doggiedesigner.com/can-dogs-eat-garlic-bread/)