...and that is the point.
Consider this:
Num 26:65
For
the LORD had said of them, They shall surely die in the wilderness. And there was not left a man of them, save Caleb the son of Jephunneh,
and Joshua the son of Nun.
Who do you think "the LORD," or "Jehovah," or "Yahweh" is here?
It is the one we know as Jesus.
He is the Rock who was following the children of Israel in their wilderness journeys (1 Corinthians 10:4), and he is the one that the children of Israel were tempting (1 Corinthians 10:9).
In other words, Jesus spoke of Joshua because they are not the same person.
Seeing how they are two completely different people, the context determines which name should be used when translating from Greek to English, and the KJV translators completely blew it in the two passages of scripture which I previously cited from the New Testament.
This is reality...whether you will ever embrace it or not.