Major S/O to @bradschoenfeldphd for saying this. I enjoy squatting, but there's been many times in my training where I've stopped, because of knee pain. I've almost always gotten crap for it. It never really made sense to me.
I do think @athleanx was right when he said squatting releases more T which would could lead to greater muscle growth in other areas. However I just don't agree with telling beginners to just Squat & deadlift.
Most beginners goals are to look sexier and get those big arms & chest. Yes, they should be doing squats and deadlifts, but only that will not get them to their goal. Squats won't give you big arms.