That is only one consideration when deciding upon RAM usage. You also need to consider the following:
1. New macOS versions appear to be using more RAM as the years go by.
2. New versions of applications appear to be using more RAM as the years go by.
3. Your future workflow may change so that having extra RAM would be very helpful.
I am aware. However, 24 GB is still way overkill for the vast majority of mainstream users, and will continue to be overkill for many years to come. My wife and daughter both only have 8 GB (2017 13" Intel MacBook Air and 2015 13" Intel MacBook Pro respectively) with zero problems whatsoever. It would be a complete waste of money for them to get 24 GB. In fact, if they were buying next year, 8 GB would still be fine, and would also still be sufficient for years. However, if someone in their shoes wanted to be super future proofed, 16 GB would be all that is necessary.
For my main work desktop, 8 GB is usable for my moderate business application multitasking but 16 GB is more than enough. I use PowerPoint +/- Keynote, Word, Numbers, Safari and Chrome (maybe a dozen tabs total including one YouTube or Netflix), Mail, Calendar, Contacts, Messages, Music, Citrix VPN, FaceTime, and occasional Photos and Apple TV+, and there will be no swap, or else minimal swap with 16 GB. With 8 GB it was also fine, but I'd sometimes have about 1-3 GB swap, and I'd occasionally see a short slowdown. However, if I were buying next year I'd consider 24 GB just because I'm a geek.
OTOH, I'd rather have more ports. IOW, I might even rather have a 16 GB Mac mini M2 Pro than a 24 GB Mac mini M2. It would be nice to get a 24 GB Mac mini M2 Pro, but unfortunately that machine doesn't exist. Once you want to get more than 16 GB and more than 2 USB-C ports, at that point it might just make sense to get an M1 Max Mac Studio.