What does long term mean to you? Because that is a whole problem of its own.
Generally, bang for buck, the x3d AMD processors are going to provide likely long term high gaming performance. On that end, if you're really looking long term, you'll likely want to go with a 7xxx chip and ddr5.
A good SSD, pcie4, should be in there for also your game storage. Don't grab the cheapest SSD possible. It makes a huge difference. Motherboard, PSU, cooling will follow your other parts.
Graphics cards are going to be really the budget smasher. I'm personally finding my rtx3070 still plenty good, but again, what you consider long term and which AAA games are on your radar vastly influences your options.
take the time to review the recent round ups by gamer's nexus. Go to their website, as it has the graphs and everything and you don't have to sit through long videos to grab the info.
I'm not on the US market, so I definitely won't give it a parts list, but pcpartpicker is apparently pretty good for this from what I heard. Even just to get guidance and then grab stuff somewhere else for possibly cheaper.