Training/correction each time when caught in the act do not allow it to continue, train the "Leave It" command which may one day save it's life, research resource guarding, or seek professional help for yourself on how to train a dog properly, before someone gets injured, dog is removed at your expense, you're sued, and dog is euthanized.
Your responsibility to keep your dog safe from harm by whatever means necessary, constant supervision, immediate correction when caught in the act, dog proof your premises, put everything away so it can't access anything ie "garbage", secure containment ONLY when you can't supervise in an already dog proofed area.
Stop rewarding him for this poor behavior, "treat". Correct, walk away, ignore.
Provide in addition to his routine, minimal 3-4 daily walk/elimination time, 30-40 minutes each time, daily aerobic exercise, such as running/swimming, 20-30 minutes, and mental stimulation, such as obedience training, 10-15 minutes, a tired dog is less likely to be looking into getting into stuff, be bored/destructive, and may even be easier to train once the edge has been taken off.