A great coach is the most important part of a successful team. A great coach will make the best choices for his team. If a great quarterback isn't doing well, the coach can make the decision to pull him out and put in a different quarterback.
While a great quarterback is important, he is only one part of the team. The coach oversees the entire team and puts the right players in the right positions, at the right times for the best outcome.