safety net; security net
Refers to a physical net for safety, or figuratively to a system or measure that provides protection or a fallback.
A safety net is stretched under the circus trapeze.
失業したときのために、貯金という安全網が必要だ。
You need a safety net like savings in case you lose your job.