Good dialogue is important if you have a story that has any in it. Now not every story has to have it. I’ve read many great ones over the year with not one ounce of dialogue in them, but if you do have some, the quality has to be good or you have lost readers for good. The dialogue has to be real.
Dialogue has to help the reader see into the characters and the story.