Mosiah 7:16 - 7:20
Mosiah 7:16 And now, king Limhi commanded his guards that they should no more bind Ammon nor his brethren, but caused that they should go to the hill which was north of Shilom, and bring their brethren into the city, that thereby they might eat, and drink, and rest themselves from the labors of their journey; for they had suffered many things; they had suffered hunger, thirst, and fatigue.
So King Limhi unties Ammon and his friends and sends for the rest of his party on the hill Shilom. They all are reunited in the city and are now able to get food and rest from what was a very difficult journey from Zarahemla.
Mosiah 7:17 And now, it came to pass on the morrow that king Limhi sent a proclamation among all his people, that thereby they might gather themselves together to the temple, to hear the words which he should speak unto them.
King Limhi called for a gathering of all his people at the Temple to tell them of the arrival of Ammon and of their possible means of escaping from Lamanite domination.
Mosiah 7:18 And it came to pass that when they had gathered themselves together that he spake unto them in this wise, saying: O ye, my people, lift up your heads and be comforted; for behold, the time is at hand, or is not far distant, when we shall no longer be in subjection to our enemies, notwithstanding our many strugglings, which have been in vain; yet I trust there remaineth an effectual struggle to be made.
He speaks thus: We can now get excited because with the arrival of Ammon and the knowledge that Zarahemla still exists, we have a way out from our dilemma. We have had many battles with the Lamanites in the which we have lost many of our people and have been unable to escape from their hold on us but that will soon end.
Mosiah 7:19 Therefore, lift up your heads, and rejoice, and put your trust in God, in that God who was the God of Abraham, and Isaac, and Jacob; and also, that God who brought the children of Israel out of the land of Egypt, and caused that they should walk through the Red Sea on dry ground, and fed them with manna that they might not perish in the wilderness; and many more things did he do for them.
Do you remember how God had freed the children of Israel from Egyptian domination? How He lead them over dry ground through the Red Sea and provided them with food in the wilderness? Therefore put your trust in that same God that performed all these great miracles. Be not discouraged over our lack of strength to overcome the Lamanites. As God was able to free the children of Israel, He can free us too.
Mosiah 7:20 And again, that same God has brought our fathers out of the land of Jerusalem, and has kept and preserved his people even until now; and behold, it is because of our iniquities and abominations that he has brought us into bondage.
It is the same God that brought Lehi family out of Jerusalem to the promise land. By that same power He can free us. After all it was our wickedness that got us into this situation not God leaving us alone. If we would have been a righteous people we would not be in this situation.