God promised Joshua that he would never fail or abandon him, just as he had promised Moses (compare Deuteronomy 31:6–8).