Perhaps like rehabilitating offenders, we also need to rehabilitate victims as well. Being a victim can be as troubling than being an offender because it's not really in your control. This can really be hard on people, especially mental health, PTSD, anxiety, fear of people, etc.
I'm not even sure such a system exists - it seems like the victim would be on their own for finding care and help with that?
Well okay he did threaten me, raising the knife while saying "don't even think about it" [standing in his way/stopping him]. But he didn't come at me, and I was certain I could have outrun him if he did (by running towards the shop, which he was focused on getting away from, after all), I remained at distance. Of course, this being the Netherlands, there was about zero risk the guy would pull a gun (especially after brandishing a rather cheap looking chef's knife).
But the victim is not the only stakeholder in the justice system. There are also the accused (prisoner's rights), and society at large (lower recidivism). The interests of all need to be balanced.
It's not a good thing, but you can't just ignore it. Justice needs to deal with this, otherwise it won't be accepted.
Fortunately this desire isn't very smart and can be tricked easily. If you paint something as terrible punishment and people see it as such, that is enough. Unlike, say, public safety, it doesn't actually need to be real to fully benefit society.