Here the metonym "your eyes" refers to what Yahweh sees. This means Yahweh watches the proud person. (See: [[rc://en/ta/man/translate/figs-personification]])
This metaphor compares Yahweh to a lamp, which means he gives David light and helps him to see when things seem hopeless. (See: [[rc://en/ta/man/translate/figs-metaphor]])