If we desire to have friends, we must be friendly  -  Proverbs 18:24

A man that hath friends must shew himself friendly: and there is a friend that sticketh closer than a brother.

The thought that Solomon is putting across is pretty basic – friendliness wins friends and there are some friends that are closer than others.