Building your own used to be a lot cheaper.
If you live near a Best Buy (or wherever you're seeing prebuilt computers for sale), take a picture of the shelf tag with the specs. Alternatively, since it runs Windows 11, go to Start (Windows flag) → System, scroll all the way down to About. It'll tell you what CPU it has and how much RAM. You might be able to find the GPU stuff here. A little help, Windows guys? Mac user here but I use a PC at work and I generally know my way around them. Take a picture of that.
Now go to PCPartPicker.com and try to build a system around that.
Building a PC isn't hard, but it's not easy either. I'd call it an intermediate skill. I would recommend against listening to anyone who says it's easy. It may be easy for them but they may be setting you up for expensive failure. And now computers are largely sold water cooled. That's cool and all, but I've built PCs across two decades, and I've never built with a water cooler. If I were gonna get a gaming PC again, I'd go prebuilt. Just save myself the hassle.
Look at what they cost. Save up the money or get your money ready. If you see a computer you want and the price looks fair, go for it.
Look for open box deals. You really don't want a computer that's been worked hard and hung up wet, as it were. Store computer displays rarely get worked, though. If anything, they get dirty. So you clean the thing. I wouldn't use an open box keyboard, though. I'd be looking for a deal on just the computer that was out for people to play with. Mostly they just shake the mouse and bang on the keyboard a bit. Hit the web browser. The wise gamer is going to nuke and pave anyway — that means, when you get it home, before you put it on your network, you're gonna wipe the drive and reinstall Windows (or better yet Linux) fresh so you don't have any badware on the machine.