When you’re directly comparing the pay of a male executive against that of a female barista, it is very much meaningless.
Employment choices and decisions factor very heavily into how much people get paid. Take those choices and decisions into account, and the so-called “wage gap” almost completely disappears.