Point of order: He didn't commit two bank robberies. He attempted two.
Two years and a criminal record are likely to be sufficient punishment to stop him doing it again, it's not like he lead a life of crime and this was his latest exploit.
I believe both tellers were behind glass screens so waving a knife about may have been a bit worrying but it's not like he stabbed someone.