Resign oneself to (something)

To accept something reluctantly.

I must resign myself to the fact that I will probably not get the job that I want.