At Sefaria there is a kind of commentary on Talmud called ‘Daf Shevui’. Commenting on Meg. 15b the author writes:
The Attribute of Justice argues before God—why do you give this reward to righteous people who have the above attributes of self-control and not to everyone. The answer is that those who are righteous but still follow their appetites (wine and strong drink) are treated as if they were wicked. This midrash is heavily focused on self-control. Only those righteous who also are able to control themselves are deserving of such a great reward. Indeed, we might say that a righteous person who does not control himself is even more deserving of such a serious punishment. There is a sentence in the Hebrew which is missing in all manuscripts. I have not translated here because it does not seem to make sense at all.
What sentence is the writer referring to?