come to terms with

Intermediário superior (B2) neutral

To accept and deal with something hard.

"It took him months to come to terms with losing his job."