You’re pasting like it’s 2005.
Most Excel lookup functions return the first match, but XLOOKUP can reverse the search direction to return the latest record.