If you sleep alone, you won't have anyone to keep you warm on a cold night.
If you fall, your friend can help you up. But if you fall without having a friend nearby, you are really in trouble.
Someone might be able to beat up one of you, but not both of you. As the saying goes, “A rope made from three strands of cord is hard to break.”