Y'know I agree in principle for myself.
But...I grew up with AM radio. Back then, acts like the Beatles purposefully wrote songs that would make girls scream and buy their 45s. But while they were at it they invented a whole new type of music that went way beyond the early rock and roll, soul, skiffle and show tunes that influenced them. I have several music influencers on my YouTube feed and they are inventive and fun. And sure, they are probably writing songs for my demographic. But...I think I'm glad they do. So I cut this new generation a little slack. This is all they know.
That being said I don't write songs around YouTube viewing stats and doubt I'll ever care to.