Wise, experienced judges are to be appointed by the people, in every town, and are expected to be righteous. The justice they seek is the justice required by God. The Israelites are forbidden from setting up pillars and other graven images, because God HATES them. God also detests blemished and imperfect offerings (e.g. sick oxen). He requires a perfect sacrifice as Jesus was the perfect sacrifice.