how did ancient river civilizations of Mesopotamia Egypt in ancient China legitimize their Rule and maintain power in ancient societies