"Do not decide to treat a poor man unjustly in legal matters"
This refers to any matter that a court decides.