2 And Joshua said to all the people, “Thus says the Lord, the God of Israel, ‘Your fathers lived of old beyond the Euphra′tes, Terah, the father of Abraham and of Nahor; and they served other gods.
He grew up in a pagan nation, and God hadn't revealed himself yet.