I would rephrase that, poets are a dime a dozen. Poetry in motion is a song. I know many people that write poetry and have no idea about song writing. So many times I have been handed a poem and asked to put music to it. Very difficult. Most of the time when I write a song I have the phrasing in my mind which is a direct path to what the melody will be.

As far as which is more important, words or melody, I think a lot of that depends on the genre.

For me, the lyrics are harder than the melody. I can write a song every ten minutes, but, 99.9% of them would be junk.
Coming up with a unique idea, or a new approach to an old idea, and writing a flowing story with a catchy hook is not easy.

I used to write every song I thought about.
Every idea went down on paper. And I would say that it was good practice, but now I write only the ones that I feel have some merit in possibly being used commercially.
I have folders full of garbage, but my catalog consists of about 10% of my overall write.