Self-forgiveness is a sub-set or one of the end products of self-love. It is important you love yourself well enough in order to be able to pardon yourself.
The ability to do that further improves the quality of your inter- personal relationship generally, how well you will be able to handle marital conflict and pardon your spouse as required.