Menes was a pharaoh of the first dynasty of ancient Egypt . Ancient tradition ascribed to Menes the honor of having united Upper and Lower Egypt into in a single kingdom and becoming the first pharaoh of Dynasty I.