to adapt yourself to a difficult situation
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición