That is a real concern. When I got my 16 GB 2014 MBP in early 2015, I found it had plenty of RAM for heavy office work. But starting about 2020, I began to have RAM limitation issues, where the computer would slow down and I'd need to close windows to correct this (plus I was using a lot of swap). That wasn't because of a change in the nature of my work, it was because, as time passes, applications progressively demand more RAM.
Thus, for me, 32 GB RAM would be comfortable today for heavy office work, and I'd anticipate running into trouble with 32 GB about 5 years from now. My current machine has more than that, but that's because I also use it for scientific work.