DLL hell hasn't been a thing for more than a decade at this point though, so maybe it did. I genuinely never encounter any issues with DLLs anymore.
But maybe I'm not understanding the trade offs correctly.
The counterpart is when a remotely exploitable security issue is found in that DLL, as has happened with zlib in the past and log4j more recently; then you have to chase down and update every single copy of that DLL.
But it's easier to just package a local copy and not worry about any of this, so that's what people mostly do now.