I mean, Foles isn't really an interception machine, necessarily. A 68-to-33 TD to INT ratio in his career is fine enough that it's unfair to call him an interception machine.
Though it's worth mentioning his career numbers are somewhat buoyed by a bizarre outlier season in 2013 where he posted numbers that were a strange fluke for him. He posted a +25 TD/INT differential that season with his 27-2 TD-to-INT ratio. Other than his fluke 2013 season, Foles has never once done better than throwing 3 more TDs than picks. His TD/INT differentials have ranged from -3 to +3 in each of his 7 seasons other than the one fluke year.
Even at his absolute worst in 2017, Dak threw 9 more scores than picks that year. Not too shabby for a guy in his career-worst season. Dak's floor is surprisingly high.
If you take away Dak's career-best season when he had a 22-to-4 ratio of TDs to INTs, he still throws 2.1 TDs for every INT. When you take away Foles' career-best season, he throws 1.3 TDs for every pick.
Dak's the better QB when it comes to avoiding interceptions.