Not talking specifically about you. I mean in general, I see no purpose in starving a dog if it legitimately doesn't want to eat its food. There are dogs who then acts petty and just wants something more for their food, I've tried that, and that doesn't take long to adress.
However, I have tried pets who refuse to eat for several days, in which case they're ill, or their food is shite and you need to change it.