While it is ideal for someone to apologize for their wrongdoings, it is not always possible. Islam encourages forgiveness regardless of whether the wrongdoer apologizes or not. Forgiving someone can bring peace to your own heart and purify your spiritual state. It is important to detach yourself from negative feelings and focus on self-growth.