“It’s a dangerous thing to guarantee payment for someone’s debts. Don’t do it!”
If you never want to see a friend again then loan them money. If you want to lose a friend, then co-sign for them on a loan.
Never loan money to people you love and like. If you have it then give it to them. Don’t co-sign on a loan for them unless you want to make the payments for the person.