Yes and no imo, our political leaders should be responsive to the desires of the people they lead, but on rare occasions the people are stupid and need to be told so (e.g. for most of the 1960s, civil rights were not popular), and a lot of the time leaders need to help people recognize problems or opportunities that haven't been widely discussed by the media or other politicians before (e.g. universal healthcare, basic income, safe drug use sites, etc.).
Bad leaders do whatever public opinion polls say or whatever they want, good leaders find a way to do what they can without compromising on the values they ran on, great leaders find a way to move public opinion polls closer to them. Kamala is a good leader, not a great one, imo.