The princes of Zoan and Memphis are spoken of as if they are the cornerstones of buildings because they are an important part of the community. AT: "the leaders have made Egypt go astray" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The word "Egypt" represents the people of Egypt. Going astray represents doing what is wrong. AT: "made the people of Egypt go astray" or "made the people of Egypt do what is wrong" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-metaphor]])