In fact, pretty much all of the performance gain going from a 5700 XT to a 6700 XT is based on the latter's higher clock speed, as their specs are very similar otherwise (although a 6700 XT has 12 GB 192bit memory and a heap of cache, whereas the 5700 XT has 8GB 256bit memory that runs a small bit slower, and crucially, way less cache).
5xxxG are also known for missing official support, only PRO favors have it.
Since ECC is for robustness I'd really prefer when both AMD and ASUS/ASRock/Gigabyte/MSI/... mention ECC support in the specification. Last time I've checked, only ASUS did mention it for consumer AM5 mainboards. (Gigabyte did it for (at least) one simple but expensive server mainboard.) While for AM4 it wasn't such an issue for other manufacturers too.
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu... <- An Intel I5(and only the I5) beats AMD on this singular benchmark.
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
https://phoronix.com/benchmark/result/amd-ryzen-5-8500g-linu...
Yes, the 5700g and 5600g can score lower amount of peak power, but you need to compare the power used against a metric like time to calculate efficiency.
The $179 8500G is competing with the $449 Ryzen 7 7800X3D in efficiency. It's a blood bath.