This can work sometimes and may even sound wise, until you realize that a lot of people's character and behaviour is determined by their environment.
So I prefer the direct approach that is known to work by directly helping people do the right thing, over the indirect approach that may or may not work, depending on circumstances.