Another way to say "making friends is for getting protection" is "Protection may be found by having friends."