“We’ve heard your argument before which is why the Phantom II was fielded without a gun.”
The difference is the change in reliability of missiles over the last 60 years. The AIM-9 was pretty decent in the early 80s, when I was a WSO in F-4s, but the reliability now is much better. So is the weapons envelope, and so is the reliability of radar missiles.
In a modern dogfight, trying to go for guns is a good way of dying...
Going for guns is a planned last resort.
Because you are a (former) WSO, you know all plans turn brown when the switch is thrown and you fly an intercept.
Plan for the best, expect the worst, train for all situations.