The phrase "to get the treat" means to receive or obtain something good or rewarding. It often refers to gaining a reward or benefit after completing a task or meeting a requirement. Full definition
«Sometimes... models don't get treated as people,» she explains. (mindbodygreen.com)
The expense of getting treated for cancer may range between 2 and 20 lakhs just for six - month regular treatment. (policybazaar.com)
I especially love the canned because I use it to make her treats since with her condition, she can never partake in getting treats with the other dogs. (royalcanin.com)