...after the great and tremendous battle at Cumorah, behold, the Nephites who had escaped into the country southward were hunted by the Lamanites, until they were all destroyed. And my father also was killed by them, and I even remain alone to write the sad tale of the destruction of my people. But behold, they are gone, and I fulfil the commandment of my father. And whether they will slay me, I know not. (Mormon 8:2–3)Moroni then makes this inaccurate (but understandable) remark:
Therefore I will write and hide up the records in the earth; and whither I go it mattereth not. (Mormon 8:4)The plates are full, he has no ore with him, and if he encounters another human being, they'll try to kill him. What's left to do? Quite a bit, as it turns out.
Moroni undergoes a remarkable change in perspective as he continues writing. He starts out in total misery, but then he remembers the promises of the Lord and the purpose of the records entrusted to him. He then is able to focus on the work he has left to do, and is given prophetic clarity of vision:
...I speak unto you [the people of the latter days] as though I spake from the dead; for I know that ye shall have my words. (Mormon 9:30)Moroni then goes on to abridge the entire book of Ether and to record some of the most powerful scripture ever written; including the sacramental prayers, his father's sermon on Charity, and the promise in Moroni 10, which outlines the steps to gaining a testimony of the Book of Mormon.
Moroni's work was not finished. When we are at the end of our rope and are tempted to believe that "whither [we] go it mattereth not," we can know that this is false. God knows us and has a plan. We too have work to do.