The words "good" and "right" have similar meanings and emphasize the importance of right behavior. AT: "when you do what is right" (See: [[rc://en/ta/man/translate/figs-doublet]])
The eyes represent seeing, and seeing represents thoughts or judgment. AT: "what is good and right in Yahweh's judgment" or "what Yahweh considers to be good and right" (See: [[rc://en/ta/man/translate/figs-metaphor]])