Fetching details from the dictionary...

something to rely on; aid; clue; way; means
someone to rely on; relative
reminder; memento
古い写真を思い出のよすがにしている。
I keep old photos as a connection to my memories.
この手紙は亡き母のよすがとなっている。
This letter serves as a memento of my late mother.
友情がつらい時期を乗り越えるよすがだった。
Friendship was what helped me through the hard times.