A MAN has been jailed for threatening to kill his wife after he discovered that she’d had an affair whilst he was serving a prison sentence, a court heard.