As bad advice goes, this is extremely bad.
It is absolutely not the case that "the more songs you write, the more good songs you write".
I would actually say the reverse -- the more songs you write, the lower the chances that you'll write anything really good.
You act as if quality is a random thing and has nothing to do with the effort and intent of the artist! But that's just wrong.
Mature, adult works often take a great deal of time to complete. It might not even be clear at the start how long it will take you to finish it - Debussy started writing Clair De Lune in 1890, but didn't release it for another 15 years.
A good friend of mine was an audio engineer for decades. He once told me Kraftwerk spent 40 hours in a top-flight New York City studio to lay down the kick drum part for just one track.
I told this to someone twenty years ago, and they scoffed: "What a waste of time!" I said, "On the contrary, I think this obsessive attention to detail is evident in every moment of Kraftwerk's work, which is what makes them Great."
I would say the next twenty years only confirmed my claim, and that the best of Kraftwerk's material sounds just as fresh, radical and uncompromising today as it ever did.
Very little is achieved by randomly throwing shit around and hoping some of it sticks to the walls. You are better creating one work that really moves people than a thousand pieces that are just meh.
Quality over quantity!