There are some very special circumstances where 8GB of RAM is actually enough though ... that the 64-bit build of Windows 11 alone requires 4GB of RAM just to run. That's half your memory gone ...
But you might look at the iPhone XS's paltry 4GB and compare it to the OnePlus 6T McLaren Edition's 10GB of RAM, and immediately think the iPhone XS is an inferior device. But it's not quite that ...