I don’t buy this as a blanket statement. It highly depends on what sort of educational track you’re pursuing.
At least in the US, there are many graduate level healthcare degrees out there that require you to pay for them. Yet they net a well paying career. Ex: physician associate, anesthesia assistant
If you’re specifically referring to research-focused graduate degrees and not job-focused graduate degrees, then I agree with you.
Where do you live that eggs are $17 a dozen???