What I mean is, if gases all behaved as some kind of perfect, platonic* ideal of a gas and followed the ideal game law exactly, there would be no temperature change. But because they don’t, the Joules-Thomson effect is what allows for refrigeration.
*Helium is probably the closest to some platonic ideal of a gas.