“going the way of all the earth.” An idiom for dying. But Joshua does not die that day, but later on.
“not one word has failed of all the good things.” The Hebrew has “not one word (dabar; word, thing, matter) has failed of all the good things (dabar: word, thing, matter), that Yahweh” spoke.