Amos 2:6

כֹּה אָמַר ה' עַל שְׁלֹשָׁה פִּשְׁעֵי יִשְׂרָאֵל וְעַל אַרְבָּעָה לֹא אֲשִׁיבֶנּוּ עַל מִכְרָם בַּכֶּסֶף צַדִּיק וְאֶבְיוֹן בַּעֲבוּר נַעֲלָיִם

Thus says Hashem: For three sins of Israel and for four, I will not return them: for selling a righteous person for silver, and the needy in order to lock him out.

This is the first verse in the Haftarah for parshas Vayeishev. The Radak explains that G-d was willing to overlook three sins of Israel , namely the three cardinal sins of murder, idolatry and immorality. He only sealed the judgment that they should be exiled because of the fourth sin – that they were corrupt and perverted justice.