For 20 years the Jews were separated from their ark
“If you mean to return to the LORD with all your heart, you must remove the alien gods and the Ashtaroth from your midst and direct your heart to the LORD and serve Him alone.Then He will deliver you from the hands of the Philistines.”(l Samuel 7:3)
This shows the lesson of staying faithful. Because even after 20 years without the ark, Samuel's had faith that if they returned to g-d it would all be okay.
"And Samuel judged Israel all the days of his life." (l Samuel 7:15)
Samuel showed the vale of commitment. He dedicated his entire life to B'nai Israel and is now well known and beloved.