It is crucial to understand why people comply with measures to contain viruses and their effects during pandemics. We provide evidence from 35 countries (Ntotal = 12,553) from 6 continents during the COVID-19 pandemic (between 2021 and 2022) obtained via cross-sectional surveys that the social perception of key protagonists on two basic dimensions—warmth and competence—plays a crucial role in shaping pandemic-r...