The Intel Core i3-13100F wins in 10 out of 14 comparable specs, with 1 tie. Its biggest advantage is L2 Cache (233% better).
Core i5-9600K wins in 3 specs (Total Cores: 50% better).
Recommendation
Choose Core i3-13100F if you want the best overall performance — especially l2 cache.
Choose Core i5-9600K if total cores matters more to you.