proverb

To save one’s bacon.

save

used to say

To rescue one from failure or danger; to prevent something bad from happening to somebody.