If it was all coaching and development, teams would spend more than the salary cap on coaching and development. They wouldn't value picking QBs so high in the draft.
The support system matters. Being on a good team is a lot different than being on a bad team. But it's a lot more about the player than the environment. If it wasn't, KC would feel comfortable grooming Mahomes replacement before they paid him.