In the end, hardware and software are just tools.
There are advantages to both hardware... and software.
Hardware by its very nature is "immediate".
There are knobs/faders/buttons/etc that you can simply reach out and tweak.
I'll use Line-6's Helix as an example... as it's available in both Hardware (Floor, LT, and Rack) and Software (Native).
Some folks think that the hardware version of the Helix sounds better than the Native version.
Often, these folks are comparing hardware vs. native... using a cheap audio interface to run Helix Native.
When you break it down, that's not surprising. The Hardware version has a quality front end that was designed specifically for DI electric guitar. It has low noise-floor, wide dynamic range (to avoid clipping), and the impedance is matched for this specific purpose.
It's the same with top-tier hardware reverbs.
Those algorithms are well designed... and the box as a whole is designed/tweaked to work well as a whole.
With plugins, the quality is not just about the algorithms... but is subject to the user's front/back end.
A cheap audio interface isn't going to have A/D D/A (or analog circuits) equal to those in a $10,000 outboard processor.
More expensive gear generally has significantly lower noise-floor.
On one track, it may be hard to hear the difference.
When spread across 24-48 simultaneous tracks, it can be a HUGE difference.
It's literally like pulling a veil of noise off the audio...
In today's world, most folks strike a balance; using select high-quality hardware on the front-end (while recording)... and using plugins for mixing. You get the best of both worlds (hardware and software).