Learn to live with (something)

To learn to adapt to something unpleasant or painful.

My mother and father must learn to live with not having a supermarket close to them.