That's a pretty bad blanket statement there.
friend classes exist for a reason, and sometimes, the clean and good design does use friends where a forced approach avoiding friends at all costs will...