Even when considering professional cameras, it's more about the size of the sensor than raw megapixel output:
"Bigger chips mean so many good things. Big chips mean shallower depth-of-field at equivalent settings. Big chips
mean big pixels, which means more light hits each photosite. More light means less gain, less noise per pixel. Less noise means more dynamic range. Bigger chips mean better pictures."