The Odyssey and the Iliad were not written by an Ancient Egyptian poet. They were written by
Homer, a Greek poet who lived sometime between the 8th and 6th centuries BC.
While there is much debate about Homer's existence and the exact time period in which he lived, it's generally accepted that he was a Greek poet, not an Egyptian.