Just want to put a word in here, specifically re Intel vs AMD:
AMD has an established reputation for keeping socket compatibility over multiple generations (*mostly). If you buy a higher-end DDR5-gen motherboard now, there is a much better chance that you will still be able to upgrade to the latest AMD chip in 4 years' time - or even to the previous-year's gen for which prices will have fallen. For example, I bought a gen-2 Ryzen chip (2600) and a mid-range motherboard (ASRock Fatal1ty B450) in 2018. With the latest BIOS, I can upgrade to the latest (gen-5) Ryzen chips or any of the chips in between. With the equivalent gen-5 Ryzen chips I would be looking at up to 50% better performance; with the top-model Ryzen 5000's, I could get more than 3X better performance (not exactly a fair comparison, but I could, just by upgrading the chip).
For Intel .... it's not really worth considering. Intel have only kept compatibility between generations mmmmmmaybe twice in the past ten generations, and for those the upgrade was nothing special. If you go Intel, you're committing to upgrading your motherboard when you upgrade your chip. That said, the 12th-gen Intel chips are pretty phenomenal, and I say that as an openly-declared AMD fanboi. If you want the absolute fastest chips now, especially for gaming, and you don't mind buying your own cooler for a space-heater of a machine, the Intel chips own their price points. Just remember that the upgrade path requires a new motherboard.
(* the caveat to AMD compatibility is: don't buy a low-end motherboard. There were all kinds of shenanigans when the third-gen Ryzen chips came out, specifically related to AMD not supporting them on the lowest-end first-gen chipsets. Most of the low-end motherboards that used them didn't have enough BIOS memory to store the compatibility information for both the original chips and the newer ones, so that prevented them from supporting the new chips. Much chaos ensued. You should be able to avoid that by staying away from that end of the market, and if you're buying a high-end chip then you give up some of the benefits anyway by cheaping out on the motherboard).