The original Liberal Arts (a term which literally means, more idiomatically translated from ars liberalis, "skills [needed] of free men") were, funny enough, mostly things that we would consider branches of mathematics today, and thus STEM fields.
First there was the "trivium" (from whence our word "trivial", because these skills were considered so basic and elementary):
- Grammar
- Logic (now considered a branch of mathematics)
- Rhetoric
But then there was the "quadrivium" which followed that:
- Arithmetic (obviously a branch of mathematics)
- Geometry (obviously a branch of mathematics)
- "Music"
- "Astronomy"
The last two are the most interesting ones, because "music" was not about playing instruments or singing, it was essentially harmonics, the study of "number in time"; and likewise, "astronomy" was not about the actual particulars of celestial bodies, but was essentially dynamics, the study of "number in space and time". These complemented geometry as the study of "number in space" and arithmetic as "number in itself".
In short, the quadrivium, which was over half of the original Liberal Arts, was entirely things we'd now consider mathematics; and a third of the remaining portion in the trivium, logic, would also be considered mathematics today. Five sevenths or over 71% of the Liberal Arts were all math subjects.
These were all intended to prepare one for the study of philosophy, which at that time encompassed what would become the natural sciences of today. (In the middle ages philosophy was in turn considered to be essentially in a support role to theology, but of course you'd get that kind of attitude in the continent-wide theocracy that was old Christendom.)
The Liberal Arts were to teach people how to communicate their thoughts coherently, rigorously, and persuasively, and to be able to think quantitatively about things in themselves and also their relations in space and time, all of that for the purpose of conducting the kind of broad and deep critical thinking about of the world we live necessary to live life as a free individual and to preserve the freedom of one's society.
Dismissing all of that for "science lol stem envy much" is the start of the road to serfdom.