proverb

Before you make a friend eat a bushel of salt with him.

friendship

it means that

You have to go through some hardships with a person before you can call them a real friend.