Buddhism emphasizes "mettā" (loving kindness), "karuṇā" (compassion), "mudita" (joy), and "upekkhā" (equanimity), as ways to avoid resentments in the first place. These ideas help to understand suffering in the world, both our own suffering and the suffering of others.