This means the two persons must go to the sanctuary where Yahweh's presence dwells. At the sanctuary are priests and judges who have the authority to make legal decisions for Yahweh. (See: [[rc://en/ta/man/translate/figs-explicit]])
The phrase "stand before" is an idiom. It means to go to someone with authority and let him make a legal decision about a matter. (See: [[rc://en/ta/man/translate/figs-idiom]])
The nominal adjective "the evil" can be stated as an adjective. AT: "you will remove the evil practice from among you" (See: [[rc://en/ta/man/translate/figs-nominaladj]])