Note that we rarely use "one" in writing these days. The friendships we develop ... can affect our attitude... The friendships children develop... can affect their attitude... The friendships you develop... can affect your attitude
If this is for a formal paper, I'd use the 3rd person one, but in more casual writing, "you" or "we" work.