for dear life
idiomDefinition of for dear life
: very tightly or quickly because of fear or danger
He was hanging/holding on to the rope for dear life. They were running for dear life to get away from the vicious dogs.