Remember the word which Moses the servant of Yahweh commanded you, saying, Yahweh your God gives you rest, and will give you this land.
Now the encouragement for Joshua as God promises His presence, His power. Then as God again tells him the conditions upon which he will experience that presence and power of God.