“They have neither knowledge nor understanding.
They walk about in darkness.
All the foundations of the earth are shaken.”
The people of earth and the rulers do not have knowledge or understanding. They are people walking around in darkness. Thus all the foundations of the earth are shaken.