It's conditional because Joshua must have faith enough to physically set his foot upon the places that God has already predestined for him and the Children of Israel. Faith without works is not enough. God keeps His promises and does not lie however, Joshua must trust God inspite of how things may appear.