I think you’re right, but that’s also a generalization. Some women are focused and are willing to sacrifice everything for the job, but I daresay they are rarer than similarly driven men.
Those women who are just as driven will generally earn about the same as the men who are driven.