We should stop invoking "the market" as some sort of almighty deity who is always right. Sometimes what "the market" does is fine, sometimes it is not.
In the past, college-degree holders were scarce, so a history degree had "economic" value.
It's not that the past valued the humanities more. It's just that good jobs were a thinner slice of society and tended to be filled by the also-thin ranks of degree holders.