There are several bass lines that Paul McCartney played that might be considered the best that he ever played. Of course, ultimately this is a subjective decision.
For me it comes down to two songs: Something or I Want You (She’s So Heavy). Here’s the isolated bass line, with vocals, for I Want You. See what you think: