A man found guilty of stabbing his victim with a knife in his head will spend four more years in prison for attacking a stranger.