It typifies that "absolute power corrupts absolutely" maxim. Light had good morals. He thought that made him immune to the greed. But then someone challenged him and he got cocky. Sure, L kept Light on his toes, but beating L made Light think he was absolutely invincible.