I really wish this meme would die. Every modern operating system - macOS, Linux and Windows - use available memory for certain performance optimizations. It doesn’t mean when needed, that memory isn’t available for other applications and your computer just starts swapping.
I can 100% guarantee you that if you have a computer with 8GB RAM, the computer wouldn’t start swapping if you brought up a new process that needed 4 of those 8GB even though it says the operating system is using “8GB RAM”