An idiom referring to a belief, loved one, or principle that keeps a person grounded during crisis.
anchor of hope / steadfast source of comfort
anchor ya hope
"Imani yake ilikuwa nanga ya tumaini wakati wa shida kuu."
Translation: His faith was an anchor of hope during times of great trial.