He still knew more than Sasuke, and he also stopped Sasuke from killing/trying to kill Kabuto, Sasuke was mostly confused and he didn't know much about his own abilities, he didn't know Izanami was a thing/wasn't willing to use it, the fight doesn't prove Itachi to be Sasuke's superior at all other than IQ which is obvious