It is important to not praise yourself too much.
Ted is a professional swimmer and is preparing for a big event.
Ted wants to improve his self-esteem.
Ted improves his swimming technique and times himself to track his improvement.
Ted constantly repeats that he is the greatest swimmer alive.
Ted sees his improvement, boosting his confidence.
Ted begins to believe it and acts conceited towards everyone he knows, disgusting them.