pander to
pander to (someone)
to give someone what they want, although it may not be good or right for them.
TV stations pander to viewers who don't seem to get enough of sex and violence.
Cambridge English Idioms Dictionary