S05E17 - The Original Fry Cook
Synopsis
SpongeBob tries to impress a world-renowned chef named Jim, who once worked at the Krusty Krab. He realizes Jim is much better than him, so SpongeBob writes Mr. Krabs a resignation letter because he is sure that he will be fired and replaced by him. But he later discovers that he won't be fired, and Jim only came to visit, and that the main reason that he quit working at the Krusty Krab was because he demanded that Mr. Krabs give him a raise, only for Mr. Krabs to interpret it as an uproariously funny joke. Jim tells SpongeBob that, while he is a good cook, he will only be a great one when he quits the Krusty Krab.