Well, okay, I think this is more complicated than that. For example, my Lenovo Legion laptop cost $1500 (I bought it for less, but that's the actual price of it). That is the same price as a base model M4 MacBook Pro. Comparing the specs, the MacBook has the base M4 (10-core CPU, 10-core GPU), 16 GB of RAM, and 512 GB of storage. The Lenovo has the Ryzen 7 which performs roughly equal to the M4, 16 GB of RAM, 512 GB of storage, but it ALSO has the RTX 4060 graphics card, which outperforms the M4 GPU by about 3 times (using Cinebench 2024 for these metrics).
Of course, on the Lenovo, you are losing the nice XDR display, nice speakers (which I don't care about since I use headphones/studio speakers), and a nice trackpad. But it comes with a much faster GPU, and upgradable RAM/storage. And, not to mention, completely user-serviceable parts.
So, to actually respond to your comment... I think this used to be a lot more true than it is now. With how good the M4 supposedly is, the "PC is better for less" argument is starting to lose its strength. BUT, on the GPU side, you still cannot get an RTX 4060-level MacBook for the same price.