Thinking about how, in Judaism, redeeming captives is considered a "great mitzvah," something that takes precedence over even supporting the poor, and the cash bail system.
1/x thread
Maimonides writes that ignoring the need to redeem captives goes against “Do not harden your heart or shut your hand against your needy fellow” (Deut 15:7) and “Do not stand idly by your neighbor’s blood” (Lev 19:16), among other Torah commandments.
The Shulchan Aruch (a significant Jewish law code) writes: “Every moment that one delays in freeing captives, in cases where it is possible to expedite their freedom, is considered to be tantamount to murder.”
If a community is in the middle of building a synagogue and the need to redeem captives comes up, they're ordered to dismantle the synagogue and sell the bricks and wood and use that money to redeem captives.
In the US, in many places, they use cash bail when someone is arrested ostensibly as a way to force a defendant--one who has not been convicted of any crime--to return for the trial.