Both overkill and overpriced for only gaming in my opinion.
A 10400F paired wtih 3070 is a really good pair.
Also is cheaper:
PCPartPicker Part List
CPU: Intel Core i5-10400F 2.9 GHz 6-Core Processor ($164.99 @ Amazon)
Motherboard: MSI MPG Z490 GAMING PLUS ATX LGA1200 Motherboard ($169.99 @ Best Buy)
Memory: Corsair Vengeance RGB Pro 16 GB (2 x 8 GB) DDR4-3200 CL16 Memory ($94.99 @ Amazon)
Total: $429.97
Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2021-01-26 10:11 EST-0500
10400F falls behind 5600X in gaming by only a few fps (5-10).
8 core 16 thread 10700K is also overkill for only gaming in my opinion.
I choose a Z490 motherboard so you can achieve that 3200MHz,it might give you slight fps increase in some games,although it will be nice to have if you upgrade to a 11th gen CPU down the line.
Stock cooler will do,but a aftermarket cooler isnt a bad idea.