The word "just" is a nominal adjective that refers to just people. Alternate translation: "just people" or "righteous people" (See: [[rc://en/ta/man/jit/figs-nominaladj]])
Here "turn aside the needy" represents telling the needy people to leave. It can be made clear why the needy were at the city gate. Alternate translation: "do not allow poor people to bring their cases to the judges in the city gate" (See: [[rc://en/ta/man/jit/figs-explicit]])
The word "needy" is a nominal adjective that refers to people who are in need. Alternate translation: "people in need" (See: [[rc://en/ta/man/jit/figs-nominaladj]])