Building a PC is like Lego blocks, they only go one way in unless you get really creative. The most puzzling thing is to choose the right screws, there's at least two different types of threads for the same diameter. But everything that's compatible should go in without excessive force.
An i5 and an RTX 4060 is a safe bet for most games for years to come unless you need to go to high resolutions with high frame rates in which case a stronger GPU is the remedy. 12th (i5-12###) gen would be the budget choice, 14th (i5-14###) gen for the latest. Both are Win11 compatible and perform roughly the same so...
Something like this, given you can get a Windows license elsewhere:
PCPartPicker Part List:
https://pcpartpicker.com/list/kCkLbLCPU: Intel Core i5-12600KF 3.7 GHz 10-Core Processor ($177.99 @ Newegg)
CPU Cooler: Enermax ETS-T40F-TB 47.72 CFM CPU Cooler ($19.99 @ Newegg)
Motherboard: Gigabyte Z790 D DDR4 ATX LGA1700 Motherboard ($149.99 @ Newegg)
Memory: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3200 CL16 Memory ($40.99 @ Amazon)
Storage: Kingston NV2 500 GB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive ($41.99 @ Amazon)
Video Card: Gigabyte WINDFORCE OC GeForce RTX 4060 8 GB Video Card ($299.99 @ B&H)
Case: MagniumGear NEO AIR (2023) ATX Mid Tower Case ($39.99 @ Newegg)
Power Supply: SeaSonic FOCUS Plus Platinum 650 W 80+ Platinum Certified Fully Modular ATX Power Supply ($149.99 @ B&H)
Total: $920.92Prices include shipping, taxes, and discounts when available
Generated by PCPartPicker 2023-12-30 15:36 EST-0500
Notice that this was compiled along the 12th gen i5 CPU. The 14th gen would be some $150 more and although the rest would be compatible you'd have to make sure the bios version is up to date. That may require using an older CPU for updating. A local builder shop would be a good choice in such a situation as they'd have some spares just for that. Also I chose the Z790 chipset just in case you'd like to overclock but if that's not your thing choosing another compatible chipset may save a hundred bucks.