The writer speaks of God as if he were a rock that keeps one safe from his enemies. He also speaks of God as if he were a shelter that provides protection. AT: "God always gives me strength and protection" (See: [[rc://en/ta/man/translate/figs-metaphor]])
This refers to telling God your inner feelings as if you were pouring out a liquid. AT: "give your deepest concerns to God" (See: [[rc://en/ta/man/translate/figs-idiom]])