The Ten Commandments, eight of them at least, were taken from the Egyptian Principles of Ma’at written at least 2000 years earlier.
Written at least 2,000 years before the Ten Commandments of Moses, the 42 Principles of Ma’at are one of Africa’s, and the world’s, oldest sources of moral and spiritual instruction. Ma’at, the Ancient Egyptian divine Principle of Truth, Justice, and Righteousness, is the foundation of natural and social order and unity. Ancient Africans developed a humane system of thought and conduct which has been recorded in volumes of African wisdom literature, such as, these declarations from the Book of Coming Forth By Day (the so-called Book of the Dead), The Teachings of Ptah-Hotep, the writings of Ani, Amenemope, Merikare, and others.
One aspect of ancient Egyptian funerary literature which often is mistaken for a codified ethic of Ma’at is Chapter 125 of the Book of the Dead