Jn.2:10 wasn’t a case when Jesus planned to only bring out the best in the end. While we can say that Jesus had foreknowledge of it, but from the context of the passage, the miracle was meant to be understood as something not pre-determined. It was more about how letting Jesus into a tough situation brings about an outcome that is completely unfathomable, something far better than we could ever imagine! When we do likewise and invite Jesus into our tough situations, He will surely turn water into wine, night into day, darkness into light, fear into faith and weakness into strength!
“Everyone brings out the choice wine first and then the cheaper wine after the guests have had too much to drink; but you have saved the best till now.” Jn.2:10