It doesn't have to happen exactly the way he said it, he 'jokingly' said he was going to shot this man and cause him harm.
He then two hours later, shot this man causing him harm, ultimately killing him.
He was already making light about the idea of shooting him, rather it was a bad joke or not.
He said he wanted to shoot this man, and then he shot him