[0] https://www.lowyinstitute.org/the-interpreter/remarkable-pol...
India and the US work together on many things, including development in India. Why is it important to you to downplay India's good relationships?
The US's record certainly isn't perfect, but nor is the other extreme realistic. Democracy has spread to almost every corner of the globe - almost all of the Americas, for example, almost all of Europe - with the US being its strongest supporter and advocate, with money, expertise, political pressure, etc. One reason is pressure from the American public, which (for most of history) has strongly supported freedom and democracy. I know well that the US also opposed some democratic governments and, especially in the Cold War, supported right-wing dictatorships.
China is probably the only thing India and US agree on, especially considering Pakistan has been warming up to China now. Regarding the values, when has that stopped US ever? Only time US cares about democracy is when they the ruler is not friendly to them. US is an ally of - Saudi Arabia which is committing a genocide right now and actively sells arms to them (there goes your democracy and human rights) - Israel, again human rights go out of the window when it comes to Gaza occupation