I don't recommend having only one such person if you have depression or anxiety. Things can go poorly should things ever go sour with a small number (~1) of trusted friends.
And of course a network of friends while helpful is not a 1-for-1 substitute for say, a therapist.
And of course a network of friends while helpful is not a 1-for-1 substitute for say, a therapist.