And the F-15EX Eagle II is an even newer aircraft.
The F-15C/D are still air-to-air fighters.
Once pilot training changed to focus on fighters, the kill-ratio shot up to 15-1 for the last half-year or so of the war. The number of these kills made by F4s with guns was small compared to F4s with missiles (even given the unreliable state of the technology at the time), as you can see for yourself: https://en.m.wikipedia.org/wiki/List_of_United_States_aerial...
(Note that this is the case even in the later years of the war, when F4 mounted gun-pods were more common)
The narrative of the Vietnam War that gun > long-range missile wasn't even true then. And certainly isn't so now that missile technology has matured. A quick glance over to modern air campaigns is proof. Beyond visual range missiles and long-range radar systems are king. There's nothing wrong with having a back-up close-range weapon (same reason why soldiers carry knives), but the use-case is niche, and we shouldn't be designing our fighters around this combat situation. The equivalent would be arguing that soldiers should carry broadswords, and using the handful of knife engagements as evidence to why edge-weapons are superior to guns.
Naturally, by the time they accomplished that, they had thrown away all their advantages and handed the migs their disadvantages on a silver platter.
"Dogfight Over Ukraine Shows The Air War Is Still Very Much Being Fought" - https://www.thedrive.com/the-war-zone/dogfight-over-ukraine-...
Because F-35 operation manual, chapter 1, "Combat prerequisites":
Lob anti-SAM missiles till the enemy wouldn't have any operational SAM, then you can fly in on your fancy F-35.
/s but only slightly