I was nearly 40 when I published my first book. I was a slow starter - or rather, I was slow to gather my work together, though I had published translations, mainly of the Italian poet Montale, by then.
John Updike's first published book was a collection of poems.
A lot of great authors are published before their time. That's not wrong; it's just the way it works.