Deciphering the Evolution of Ancient Egyptian Leadership and Its Cultural Legacy