Oh, so now voters in the US should vote for politicians based on what people elsewhere think? Or vote for policies based on what people elsewhere think? Absolutely not. We are sovereign, that means we decide what's best for us, not the other people, no matter how many there are.
Yes, cause that's exactly what I said.
The leaders of our country in modern times needs to take account for how their decisions affect the nation, but also relations with other nations. There is this thing called "D-i-p-l-o-m-a-c-y". This is not just limited to political ramifications, but also economic since we are in a global economy. Sure, we can tariff the living crap out of every country in the world, but once you consider its ramifications from other nations then you realize it's not beneficial.
It's not that one should vote based solely on what x country thinks. Its that we live in a time where the interest of our country is very much tied to the fates and success/failures of other countries. So to just ignore how a leader would act with regards to those countries and to consider how they would respond would be totally ignorant. For example, some people prefer we build better relations with countries x,y,z and distance ourselves from a,b,c. It is purely valid for someone to consider a leader's stance and acts on certain nations and how they would respond when voting.