2 Nephi 2:5-8
5 And men are instructed sufficiently that they know good from evil. And the law is given unto men. And by the law no flesh is justified; or, by the law men are cut off. Yea, by the temporal law they were cut off; and also, by the spiritual law they perish from that which is good, and become miserable forever.
6 Wherefore, redemption cometh in and through the Holy Messiah; for he is full of grace and truth.
7 Behold, he offereth himself a sacrifice for sin, to answer the ends of the law, unto all those who have a broken heart and a contrite spirit; and unto none else can the ends of the law be answered.
8 Wherefore, how great the importance to make these things known unto the inhabitants of the earth, that they may know that there is no flesh that can dwell in the presence of God, save it be through the merits, and mercy, and grace of the Holy Messiah...
When I see the phrase "broken heart and contrite spirit" I think of a broken horse--they go where their rider wants because they have allowed the rider to lead them by their reins, or however they give direction to a horse. The horse receives the will of the rider and performs it. How is it that we receive the will of the Father to then perform it?
The bible dictionary says this of prayer: "Prayer is the act by which the will of the Father and the will of the child are brought into correspondence with each other." As we work in prayer we are able to discover the will of the Father for us. In fact, that's the heart of prayer.
Nephi, son of Helaman, son of Helaman, son of Alma, son of Alma was promised the sealing power because the Lord said that Nephi would not ask anything contrary to His will. Prayer is our opportunity to know for ourselves what God would have us do. It is how we offer up our will to God. How we break our own hearts.
Provided we do break our hearts, the promise is clear: Christ will redeem us.
And lest we be confused, it is also clear it is only in and through the merits, and mercy, and grace of the Holy Messiah that we are saved. We give our hearts to God because that is all we can really do.
I testify that prayer is efficacious for salvation. As we pray to know the will of the Father, and give our hearts to God by accepting His will as our own, we will have the hope of eternal life. We will trust in the Savior's promise of redemption, and be at peace in our hearts.
In the name of Jesus Christ, amen.