He deprives the leaders of the earth of their reason; he makes them wander in a trackless waste.
NIV
He takes away understanding from the leaders of the people of the land and of the earth, and causes them to wander in a wilderness where there is no path.
AMP
He taketh away the heart of the chief of the people of the earth, and causeth them to wander in a wilderness where there is no way.
KJV