In the Book of Mormon, a prophet named Enos had been taught by his father to follow the Lord. He was out hunting one day and his thoughts turned to everything he had done wrong. While alone and thinking of everything he felt that he should repent, so he knelt down and prayed to Heavenly Father.
-- Enos 1:2
wherefore, he prepareth a way to accomplish all his works
among the children of men;
for behold, he hath all power
unto the fulfilling of all his words.
And thus it is. Amen."
-- 1 Nephi 9:6