In my experience "We teach people how to treat us" is much more false than true. I find our influence over others is limited and erratic.
The most effective "shaping" seems possible mostly with small children. Beyond a certain age the power to shape another's behaviour diminishes rapidly.
__________________
My dog

mastered the "fetch" command. He would communicate he wanted something, and I would fetch it.