But the dog doesn't know what he did. Maybe he doesn't even know why you are angry. Since something is broken, if it can be repaired, it can't be repaired. I can only blame myself for not keeping important things well and putting them where dogs can't see them. But in order to avoid getting into trouble next time, it is very important to educate dogs.
Show the dog the crime scene. The dog may not understand your feelings, but it is not difficult for him to remember it. Tell the dog patiently that you did something wrong and can't do it again. If you do it again, you will hit him. Dogs can't understand you like babies, but they will understand you through the emotions you express. So be patient and be more fierce when you say you want to hit him, so he won't do it again.
Although things are scarce, I think dogs are also your cherished dogs.