Deuteronomy 31:5-8 RSV

5 And the LORD will give them over to you, and you shall do to them according to all the commandment which I have commanded you.
6 Be strong and of good courage, do not fear or be in dread of them: for it is the LORD your God who goes with you; he will not fail you or forsake you."
7 Then Moses summoned Joshua, and said to him in the sight of all Israel, "Be strong and of good courage; for you shall go with this people into the land which the LORD has sworn to their fathers to give them; and you shall put them in possession of it.
8 It is the LORD who goes before you; he will be with you, he will not fail you or forsake you; do not fear or be dismayed."