Ben Sira 16:12

12 Great as is his mercy, so also is his chastisement; he judges a person according to his or her deeds.

Ben Sira 16:12 In-Context

10 or on the six hundred thousand foot soldiers who assembled in their stubbornness.
11 Even if there were only one stiff-necked person, it would be a wonder if he remained unpunished. For mercy and wrath are with the Lord; he is mighty to forgive—but he also pours out wrath.
12 Great as is his mercy, so also is his chastisement; he judges a person according to his or her deeds.
13 The sinner will not escape with plunder, and the patience of the godly will not be frustrated.
14 He makes room for every act of mercy; everyone receives in accordance with his or her deeds.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.