pander to someone/something
/ˈpæn·dər ˌtu, ˌtʊ, tə/— phrasal verb with pander to verb
to please other people by doing or saying what you think they want you to do or say:
She accused the other candidate of pandering to radical environmental groups.