It is the heart that God wants us to understand. By understanding the heart, we can understand why we suffer or have joy. As you continue to read the verses, ponder how it is related to the heart, that God wants us to understand.
Interpretation:
God is going to show us how to purify our hearts, so that only joy will come from our hearts.