One of my very favorite scriptures has always been this one from 3 Nephi chapter 9 (or really, the first part of it):
20 And ye shall offer for a sacrifice unto me a broken heart and a contrite spirit.
Here Christ was talking to the people in the Americas after His death. What He taught us about repentance here is very important.
What exactly does it mean to have a broken heart and a contrite spirit? It means that we will do everything we can to make things right. Oftentimes we make mistakes but are too proud to admit it. Sometimes we display the exact opposite - our hearts are hardened instead of broken and our spirits are haughty instead of humbled. It’s all too easy to rationalize our sins away or not commit to taking the steps that need to be taken to make amends, especially when something might be serious enough to merit a confession to our bishop.
However, that’s exactly what the people had felt before Christ’s coming. That’s exactly what had put them in this trouble in the first place. In fact,
18 Now they did not sin ignorantly, for they knew the will of God concerning them, for it had been taught unto them; therefore they did wilfully rebel against God.