Lack of confidence—in yourself, language, or the reader—isn’t the only cause of bad writing, but I think it’s the most common. And it can infect any aspect of writing, from individual word choice to plot and characterization. If you find yourself saying something that’s like what you mean, but not quite what you mean, ask yourself why. There’s a problem there that you can fix!