Consider Psalm 3 (here @ Bible Gateway). David was betrayed and exiled by his son. That is loss at a level that is hard to wrap one’s head around. From being a king placed by God, David is reduced to fleeing for his life.
David though, does not value or hold on to his reputation, his wealth, or his position. Rather he holds onto the Lord.
When all seems against us, like David, we need to hold on to the Lord, no one, or nothing else.