A good question and it would be a factor if one tried to hold a particular constant cabin altitude as one climbed. In practice, the pressure relief valves would crack open at a pre-determined “delta-P” (differential pressure) and so catastrophe would be avoided. The cabin altitude would then increase as aircraft altitude increased, so oxygen and pressure-breathing would become necessary eventually.