Sometimes forgiveness comes with humility on our part. It is easy to say I forgive you, the hard part is to mean it with all your heart. Empty words are just that, empty. If we say we forgive, but we still feel resentment in our heart, then we have not done anything. Sometimes we have to humble ourselves to forgive a wrong. Like in the book of Hosea, his wife Gomer was involved in adulteries, and their marriage disintegrated because of it. Then God, instructed Hosea to buy back his wife and restore his marriage. He used Hosea to set an example of how He would restore His covenant with His people. God will not ask you to do anything that does not line up with His word.
Hosea probably had a hard pill to swallow to take back his wife after she had publicly humiliated him. Yet he would do whatever God told him to do. He was showing in his actions how forgiveness works. How God wants to forgive you, if you will let Him. No matter what you have done, God is always willing to forgive you and to take you back when you repent and mean it with your heart.
Hosea 3 v 1-3....Then the LORD said to me, "Go again, love a woman who is loved by a lover and is committing adultery, just like the love of the LORD for the children of Israel, who look to other gods and love the raisin cakes of the pagans." So I bought her for myself for fifteen shekels of silver, and one and one half omers of barley. And I said to her, "You shall stay with me many days; you shall not play the harlot, nor shall you have a man; so too, will I be toward you.".....
It is like the saying practice what you preach. God was showing through Hosea, that by taking his wife back and restoring his marriage, how God wants to restore His people back to Him.
Remember the hard part is to mean what you say. Don't throw empty words at GOD. He knows what is in your heart.