Never loan money to friends is like “having money 101.” You can gift it or you can invest it with appropriate caveats given to any external investor, but never lend it.
This is common advice because it turns good relationships bad, that manifests as viewing former friends as shysters