The Book of Joshua is an epilogue to the Pentateuch where Joshua finally led Israel into the Promised Land after being in the wilderness for 40 years. Under the command of Joshua, Israel experienced a brief period of spiritual faithfulness and military success, where there were far fewer instances of covenant breaking in comparison to Moses’ time. This book showed a leadership contrast between Moses and Joshua, hence, the necessity of having Joshua to accomplish what Moses could not.
Not only did Joshua share the same name with Jesus in Hebrew, the name meaning salvation, he was also a foreshadowing of Jesus for the things he did for God’s people. For example, Joshua brought the people across the Jordan to the Promised Land. This event was a prefiguring of Baptism by which the People of God received the gift of the Promised Land, an image of eternal life (CCC 1222). Jesus fulfilled the promise of this blessed inheritance in the New Covenant; He brings us to the Promised Land, which is Heaven, through Him — the new and eternal covenant. “He who eats my flesh and drinks my blood has eternal life, and I will raise him up at the last day” (John 6:54).
Joshua’s command for the circumcision of all the sons of Israel shortly after entering the Promised Land was also of great significance to the success of the people of Israel in obeying the law. For throughout the 40 years in the wilderness under Moses’ leadership, nobody born during that time was circumcised and Moses failed to have the people to keep the covenant. “Real circumcision is a matter of the heart — spiritual and not literal” (Rom 2:29). Jesus Christ circumcised our hearts at Baptism where there is the outpouring of the Holy Spirit that fills our hearts with God’s love (Rom 5:5), hence, making it truly possible for us to obey the law of God because this love is the fulfilment of all the law (Rom 13:10).