If you knew you could hurt others when you intentionally messed up - then probably it is a good idea to lock you up for a few years, because clearly you are very bad at thinking, no matter to what conclusion you will come in 10 minutes.
He didn't just slip and hacked medical systems by accident.