How should you show hate of evil and love of Tov?
Radak: Establish Mishpat in the gate where judges and Zekenim sit. Malbim - it is not enough to seek only good and not evil. It is proper that you hate evil, since via it you are stricken.
Malbim: This is in matters Bein Adam l'Chavero ? "v'Hatzigu va'Sha'ar Mishpat." "Dirshu Tov" (14) is in matters Bein Adam la'Makom. You will seek good in Emunos and good deeds towards Hashem, and He will be with you.
Why does it say "Ulai Yechenan Hashem"?
Radak: Even though you sinned greatly against Him, perhaps He will have grace on the remnant if you repent, for He is Rachum and Chanun.
Malbim: Perhaps He will give a remnant and hope to She'eris Yosef. This will be via "v'Hatzigu va'Sha'ar Mishpat", for Galus was primarily due to Aveiros Bein Adam l'Chavero ? "Ya'an Boshaschem Al Dal" (11).
Who is "She'eris Yosef"?
Rashi: All of Yisrael are called on Yosef's name, for he fed them.
Radak: It is Malchus Efrayim. It says She'eris, because most of them were exiled before Yaravam ben Yo'ash's kingship, and were eradicated via the sword, hunger and plague ? "Ki Ra'ah Hashem Es Oni Yisrael Moreh Me'od v'Efes Atzur v'Efes Azuv" (Melachim II, 14:26).