Idiom
hang on to for dear lifehang/hold on (to something/someone) for dear life
to hold something or someone as tightly as you can in order to avoid falling.I sat behind Gary on the bike and hung on for dear life as we sped off.A rope was passed down and she held on to it for dear life as she was pulled to safety.