A six-week mindful-gratitude practice via a mobile app reduced prejudice and weakened its link with collective narcissism.