In the second aliyah of Parshas Devarim. Moshe Rabbeinu talks about the appointment of judges, as he could not judge Bnei Yisroel alone. The idea of proper justice is intertwined with geulah. When we appreciate and understand Hashem's involvement in the world, we will not turn to dishonest conduct. If we can be proper emissaries of Hashem and take care of people in the world, showing them that Hashem wants things to be fair and good, we can open up the doors to redemption.