Is telling someone what they wanna hear a good thing or not?

Sometimes it can be but I feel like its better not to.
Is telling someone what they wanna hear a good thing or not?
Post Opinion