That’s true if you hire a friend. And if a friend takes advantage of your friendship, you’re in a difficult position.
One is emotionally invested in a friend and that can be hard to separate from an employee.
If it works, it works. Just don’t anticipate things will always be trouble-free in the workplace.
I never hired a friend.