Coombs hey, there’s more to it than that.
If you look at football data, it tells you what you see with your very eyes. You can work backwards from an open play goal - a goal was scored by someone who (as you rightly say is in the right position). But before that, there was a pass to him, and another pass to that previous person. And so forth. If these passes don’t happen, that striker taking position doesn’t benefit. In fact, the two need to happen together - strikers will often speak of the runs they make that aren’t found, but they have to keep making them in hope they are eventually found.
Concurrently, the ball needs to keep moving towards ever higher value areas, to ensure that it eventually converts to a goal. In the same way you can measure xG, you can also measure the quality of passing, through measures like Goal Probability Added - which you can decompose by carries, passes, set pieces to determine how much players are aiding or hurting the scoring agenda