“Wisdom is with the one who understands.” Servants stood before their masters and mistresses, waiting to serve and help (cp. 1 Kings 17:1; 2 Kings 3:14; 5:16. Cp. also Gen. 18:8, 22; Judg. 3:19; 1 Kings 12:8). Wisdom here is pictured as the ready and willing servant to those who have understanding.
“but the eyes of a fool are on the ends of the earth.” The thoughts and attention of the fool are on distant, unseen, and unattainable goals, meanwhile he overlooks Wisdom, which would be willing to serve him well.