“In that same hour said Jesus to the multitudes, Are ye come out as against a thief with swords and staves for to take me? I sat daily with you teaching in the temple, and ye laid no hold on me. But all this was done, that the scriptures of the prophets might be fulfilled. Then all the disciples forsook him, and fled. And they that had laid hold on Jesus led him away to Caiaphas the high priest, where the scribes and the elders were assembled. But Peter followed him afar off unto the high priest's palace, and went in, and sat with the servants, to see the end. Now the chief priests, and elders, and all the council, sought false witness against Jesus, to put him to death; but found none: yea, though many false witnesses came, yet found they none. At the last came two false witnesses, and said, This fellow said, I am able to destroy the temple of God, and to build it in three days.”
Matthew 26:55-61 KJV
https://bible.com/bible/1/mat.26.55-61.KJV
God is With You
Throughout the Bible, there are various moments when God tells someone to not be afraid. Each one comes at a time when the hearer has every reason to be very afraid.
In one instance, Joshua, the leader of Israel after the death of Moses, was taking the Israelites to their promised land (see: Exodus 3). He was leading over one million people to a place God had promised, and it meant going through some overwhelming and terrifying situations.
In the midst of this, God commanded Joshua to do two things:
Obey the Word of God and, be strong and courageous because the Lord was with them. (See: Joshua 1:7-9)
In Matthew 28, Jesus says something similar just after His resurrection. He is with His eleven disciples and He tells them:
“All authority in heaven and on earth has been given to me. Go, therefore, and make disciples of all nations, baptizing them in the name of the Father, and of the Son and of the Holy Spirit, teaching them to observe all that I have commanded you, and behold, ...