I'm unsure what your definition of "cheap" is for WD-40 but I find it to be very overpriced. If I need a universal lubricant that is readily available and cheap, I just use used motor oil.
Used motor oil isn’t sold in aerosol cans with a little red straw for precision application. You aren’t just buying the liquid.
Motor oil doesn’t spray too well.
(Yes, you can buy bulk wd-40 liquid and put into a branded or unbranded sprayer)
I thought WD-40 was more a solvent than lubricant