As it turns out, the emotional, heartwrenching ending of Logan had been planned out ever since one key scene in The Wolverine.
The other two solo Wolverine movies weren’t exactly well-received, although one could make an argument for the quality of 2013’s The Wolverine — you know, the one where he goes to Japan.
[The rest of this post contains SPOILERS for Logan — as in, I am going to tell you the ending.
The ending works because it fits with the tone of the rest of the movie, but knowing what we know now, it works doubly well as a fulfillment of Yukio’s initial prophecy.