So? He knew them. Not until later in life.
He grew up Egyptian. He spoke Egyptian.
BTW - Moses in reality, didn't write any parts of the bible.
...
Who Really Wrote the First Five Books of the Bible?
Introduction to the Mosaic Authorship Controversy
In the latter half of the nineteenth century, higher criticism began to gain traction, with critics disputing the traditional belief that Moses authored the Pentateuch. These scholars argued that Genesis, Exodus, Leviticus, Numbers, and Deuteronomy were not written by Moses but were instead composed from four distinct sources between the 10th and 6th centuries B.C.E. These sources were identified by the letters “J,” “E,” “D,” and “P,” representing the initials of the supposed writers in what has come to be known as the Documentary Hypothesis.
Explore the debate around Moses' authorship of the Pentateuch. Delve into arguments supporting traditional views against modern critiques.
www.christianpublishers.org