This old man in a nursing home (Lets call him greg) who has problems with his memory gets a letter (he cant even remember who he is), i dont remember what the letter said but bc of the letter he decides to go on a trip to finD this person (another old man) who greg thinks did something bad to him and he is going to get revenge by killing him. Greg travels by train and he manages to smuggle a gun. When he finds the man who hes trying to kill turns out the man didnt do anything to greg but they both did a bunch of horrible things together In ww2 i *think* they were nazis but pretended to be jews to do some horrible thing and since greg couldn’t rememebr who he was he thought he was really a jew. I think they kill them selves at the end?
I watched this movie back in 2014 maybe?
“Remember” (2015)
https://www.imdb.com/title/tt3704050/
I am sure this is the movie you are looking for. If you agree, then please select my answer as Best Answer by clicking on the “Select” button.