The Puritan community believed in God's covenant with humans, where humans are to follow the scriptures guidance obediently undergoing suffering in exchange for deliverance afterwards rewarding their compliance;
so Mary Rowlandson's <em>experience of captivity and redemption</em> after being held by Native Americans and later ransomed, fits the narrative as a suitable analogy for the Puritan society.