You may nail the composition, you and / or your camera might expose the shot perfectly, even the conditions could be ideal. And yet, the final image can be a bad one.
An imperfect composition, a rather dark or bright image, and less than ideal conditions could be ingredients for a great image.
We don’t know. Because photography isn’t a formula we can follow. Fortunately.
Photography is about uncertainty, about unpredictability, almost randomness. Perhaps this is what makes it so enjoyable.
Great images are rare - forget about formulas and be ready for when they come.