The Bible further highlights stories about redeeming captives, including Abraham's rescue of Lot and Moses and David's (I Samuel 30) liberation of war captives.
The Sages limited, in the name of tikkun olam (reparation of the world), the sum of the ransom, asserting that one cannot pay more than the person's market value.