Pope Francis
Fratelli Tutti §264
Fratelli Tutti: On Fraternity and Social Friendship
264 In the New Testament, while individuals are asked not to take justice into their own hands (cf. Rom 12:17.19), there is also a recognition of the need for authorities to impose penalties on evildoers (cf. Rom 13:4; 1 Pet 2:14). Indeed, “civic life, structured around an organized community, needs rules of coexistence, the wilful violation of which demands appropriate redress”. This means that legitimate public authority can and must “inflict punishments according to the seriousness of the crimes” and that judicial power be guaranteed a “necessary independence in the realm of law”.
Source: Fratelli Tutti (Vatican.va)