Self-compassion plays a crucial role in building emotional resilience by providing a foundation of kindness, understanding, and acceptance toward oneself, especially during challenging times.