David considered Yahweh as his refuge because he was his rock and led blameless people on his path. [22:32-33]