A bit like buying really good monitors for audio production before you really trained your hearing so you won't hear any difference between standard and really high quality monitors.
The "return on investment" for sharpening the basic skills in the beginning when learning a new subject is much more important than getting the latest and greatest gear, as that won't give you as much knowledge and experience since you won't really know why it is the greatest gear, and how to fully leverage it.
That's why people say "Gear doesn't matter", because in the beginning, it mostly doesn't. Just like "Premature optimizations is the root of all evil" doesn't mean absolutely all upfront optimizations are indeed evil. If you're sufficiently experienced, you'd recognize when it's premature vs not, when it's worth upfront investment vs not. But for a beginner, it's easier to remember a simple dogma, and let them figure out that it does matter a little bit, once you get better at your subject.