I think it's a bit disingenuous to suggest finding a 9 yo CPU that still retails at better than 3-400 dollars where in stock, used ones going for not an appreciable amount less used for unknown stress and use for that time frame. Not only that, but the pricing on DDR3 is going far higher than it's worth as well. You can buy DDR4 for less now in many cases. Considering that a $100 i3 10100, a $60 motherboard, and $80 in RAM would perform just the same, or better it just doesn't make sense to discount the time frame in between.
The ONLY way I would purchase a 4790K would be if someone was practically giving it away and I saw it working, personally. It is the only upgrade path for a generation of Intel that was particularly good and still being utilized quite regularly. The demand outweighs the real world performance.
10th gen was the first time I can recall that Intel has actually lowered the resale value on their own product to a desirable price. The i7 makes a lot of sense to purchase now, in relation to traditional pricing schemes.
I don't say this to insinuate that you wouldn't gain performance or (if found at the right price) is a good value proposition, but if you are going to throw that type of money in on an aging system you take quite a chance concerning longevity and relevance.
I am not sure what options your motherboard would allow, but traditionally the Xeon equivalents for the Core i series can be found less expensive as of late simply due to mainstream familiarity with that line. I know that personally I am not comfortable going down that rabbit hole.