Thats part of it. The other part of the Buddha's teaching is understanding the true nature of things.
For example every living thing dies. There is no living without dying.
Do not run away. Do not lose your shit. Stay with me another minute.
It's just pleasant dreams.
You may not be able to hold your loved one as they die. You may not even be able to see them in the hospital. This is the undeniable truth of the world.
Today. While you still can.
Accept the true nature of things and respond accordingly.