I really don’t understand how Barry’s dad was convicted

He was like the sweetest guy ever. He had no reason to kill his wife. Only evidence is that he put his fingerprints on the knife for some reason. But did he seriously have nobody aside from Barry vouching from him? and also, it should have been supported by the fact that all those years in prison he showed he was never a violent guy.