Sukkah 52a has an interesting story with Abaye (translation from Sefaria.org)
כי הא דאביי שמעיה לההוא גברא דקאמר לההיא אתתא נקדים וניזיל באורחא אמר איזיל אפרשינהו מאיסורא אזל בתרייהו תלתא פרסי באגמא כי הוו פרשי מהדדי שמעינהו דקא אמרי אורחין רחיקא וצוותין בסימא
It is like this incident, as Abaye once heard a certain man say to a certain woman: Let us rise early and go on the road. Upon hearing this, Abaye said to himself: I will go and accompany them and prevent them from violating the prohibition that they certainly intend to violate. He went after them for a distance of three parasangs in a marsh among the reeds, while they walked on the road, and they did not engage in any wrongful activity. When they were taking leave of each other, he heard that they were saying: We traveled a long distance together, and the company was pleasant company.
אמר אביי אי מאן דסני לי הוה לא הוה מצי לאוקומיה נפשיה אזל תלא נפשיה בעיבורא דדשא ומצטער אתא ההוא סבא תנא ליה כל הגדול מחבירו יצרו גדול הימנו
Abaye said: In that situation, if instead of that man it had been one whom I hate (a euphemism for himself), he would not have been able to restrain himself from sinning. (After becoming aware of so great a shortcoming) he went and leaned against the doorpost, thinking and feeling regret. A certain Elder came and taught him: Anyone who is greater than another, his evil inclination is greater than his. (Therefore, Abaye should not feel regret)
What does this principle mean? It can't be understood literally, it defies logic. The more righteous a person is, the more lusts he feels for women and murder and stealing etc.? Usually we see the opposite...
I once heard an explanation that "greater" means more sophisticated. Instead of immature desires like food and pleasure the temptations are more refined. The problem is it doesn't fit the context of the story and Abaye's realization about himself