It depends on what you want.
About a week ago I got a new 15" laptop with a Ryzen 7 6800H (8 cores / 16 threads) | Radeon 680M | 32 GB of RAM | 1 TB SSD | 1080p IPS panel for $570 USD. That 680m is an integrated GPU that can use up to 8 GB of your system RAM for its VRAM.
I put Arch Linux on it and it's quite nice. Things are very snappy.
A Macbook Air is almost 4x the price with the same memory / storage or 2x if you're ok with 16 GB of memory and a 256 GB SSD. No doubt the Air is going to be lighter, have better battery life and be quieter but this other one isn't too bad. Sure it has fans and sure it weighs 4.5 pounds but it's not a deal breaker.
I guess we could do an apples-to-apples comparison (Linux or Windows performance on Macs that have it). Not sure how that works out, though.
It was surprisingly not as expensive as I thought it would be. There are also 3rd party options that will swap in parts for you or try to repair things.
It’s not as satisfying as ordering the parts and changing it out yourself but at this point I don’t prioritize repairs or failures in my buying decisions any more.