"Just be yourself" may be the most common social advice there is, and it doesn't help the people that need help, because they are already being themselves. Still, there is something true in it.
Why it doesn't help
If you have ever admitted that you struggle socially, someone has probably told you to just be yourself. It is meant kindly. But if being yourself were working, you wouldn't have asked. The person that freezes at parties is already being themselves, and telling them to keep doing it is like telling someone that can't swim to just swim.
Memorized lines are worse
When "be yourself" fails, a lot of people swing the other way and start collecting lines and routines: openers, comebacks, the perfect thing to say in each situation. I did this myself. I studied more than a hundred clever openers and only ever tried to use one of them, once.
Memorized lines fail for two reasons. The first is that a head full of material keeps your attention on your own performance, at exactly the moment you need it on the other person. The second is that it isn't your material. Somebody else's line sounds unnatural coming out of your mouth, the same way a script sounds unnatural when someone that can't act reads it, and most people can't act. The other person can usually tell something is off, even if they couldn't tell you what.
What the advice gets right
The words you open with matter much less than people think. You can start a great conversation with something completely ordinary. What matters is your attitude: paying attention, being curious, and being comfortable as yourself instead of performing. That is what "be yourself" is trying to say, and on that point it is right. People connect with the real you much faster than with a polished act.
What it leaves out
The problem is how the advice gets heard. "Be yourself" sounds like "don't change anything." For a shy person, what usually gets in the way is fear, along with habits of thinking that take practice to change. The person that freezes at parties is being a frightened version of themselves. What helps is working on the fear until the relaxed version of them can show up, and that takes practice, which is the part the advice leaves out.
The complete advice
So the honest version has two halves. Drop the lines and stop performing. Then do the practice that wears down the fear and moves your attention onto the other person. Once you have done that, you won't need clever lines, because paying attention to the person in front of you gives you plenty to say.
Attitude first, then technique
Social Skills Mastery starts with being comfortable as yourself (Modules 1 to 9, Confidence From the Inside), and the practice that gets you there begins with simply walking around a public place.
Not ready for a course? My free guide uses curiosity instead of memorized lines: three questions for having a conversation with the person in front of you.
Form not showing? Get the guide here.