Job 12:24

24 He deprives the leaders of the earth of their reason; he makes them wander in a trackless waste.

Read Job 12:24 Using Other Translations

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.
He takes away understanding from the chiefs of the people of the earth and makes them wander in a pathless waste.
He strips kings of understanding and leaves them wandering in a pathless wasteland.