This is a sign of dedicating someone to God's service. AT: "lay your hand on him to appoint him" (See: [[rc://en/ta/man/translate/translate-symaction]])
Here the people are represented by their "eyes" to emphasize what they see. AT: "in front of all of them command Joshua to lead the people of Israel" (See: [[rc://en/ta/man/translate/figs-synecdoche]])