Personally I am not a fan of the 2016-2020 USB-C MacBook Pro. We used them at work and they are pretty fragile and the keyboard is notorious for getting jammed up. Supposedly this was fixed with the later models, but I would definitely avoid the first run of USB-C MacBook Pros. Also this generation has a 1/10 repairability score on iFixit. If I were buying used, I would not buy something that's difficult to work on just in case.
I would go with a 2015 MacBook Pro, that way you get more ports, you still get MagSafe, Retina display, and you can still upgrade to macOS Monterey. It's not the easiest to repair, but at least the storage is easily accessible.