What is the meaning of [lend your money and lose your friend]

You risk losing your friends by lending them money, either because they fail to repay the loan or because they resent being asked to repay it.