means that
when a difficulty cannot be remedied, we must learn to live with it rather than waste energy resisting the inevitable.
The saying “What can’t be cured, must be endured” can be used when if something is unavoidable and unchangeable, there is no point in complaining about, you just have to endure it.