It would be interesting to see how much a gaming desktop with roughly equivalent performance to one of these $2000 laptops would cost. I suspect that a desktop RTX 2060 would likely perform quite similar to a laptop 2070. And in terms of CPU performance, an i7-9750H is likely only about on par with a desktop Ryzen 2600, and that desktop part may even perform better in some games, since it won't be running into power or thermal limits under heavy load.
A system built around those components, 16GB of DDR4-3200 RAM, a 512GB SSD, B450 motherboard, and a mid-range case and PSU would not have to cost much more than USD $800 for these core components. Add a $200 24" 1080p 144Hz VA screen, along with a decent gaming keyboard and mouse assuming they are needed, and you're at around $1100, or about $1200 with a proper OEM Windows license. That's around $800 less to build a complete desktop system with similar performance, or perhaps $850 less since you'll probably want a gaming mouse or other controller for the laptop as well. And aside from portability, the desktop system would likely provide a better gaming experience overall, since a 24" screen provides nearly double the area of a 17.3" model, and the overall ergonomics should be better on the desktop system.
And if you actually wanted to spend that extra $850 on the desktop system to match the price of the laptop, you could for example move up to an RTX 2080, a Ryzen 2700X, a 1TB SSD, 32GB of RAM, and a 31.5" 1440p display. Or go for something in between the two, perhaps with a desktop 2070, and spend the remainder on a relatively inexpensive 2-in-1 laptop, so that you can have more portability when you need to take a system with you, and more performance when gaming.
Plus, the desktop system can be upgraded, keeping it relevant much longer, whereas a gaming laptop will likely need to be replaced entirely within several years or so if one wants to continue to get good performance and visuals in the latest games.