“Be yourself” implies that you should know who you are. When you are young, you don’t know who you are yet. So, you need to try acting like other people, like trying on a bunch of different jeans. Eventually, you will settle into one that feels right for you. I’m not sure if “be yourself” is a good piece of advice to young people. It’s an ideal incorrectly presented as a solution.