he placed his right foot on a rock and it held his weight , but once he lifted his other leg to step down , it gave in and suddenly he was barely clinging to the cliff with his bare hands , the wind rocking him back and forth .