No, they didn't say "careful with your boss." They said "you shouldn't make friends with your boss." I made friends with my boss and it worked out just fine.
If you're at the point of rephrasing things to win a stupid internet argument then I'll let you have this one. I'm out.