Joshua - Chapter 5
The Israelites had left slavery in Egypt with the first Passover - the salvation through the blood of the lamb sacrificed for them.
And now that they have entered the promised land it is the feast of Passover, which they celebrate together, celebrating in advance the sacrifice of Jesus - the lamb of God who takes away the sins of the world.
And then in verse 13 Jesus himself makes an appearance before Joshua, telling him that he is the commander of the Lord's army, and instructing Joshua to take off his sandals as he is standing on holy ground.