in which he clarifies that it is insufficient for the righteous to be good towards heaven; they must be good towards people
The Midrash says, "This is the line of Noah, Noah for the upper (worlds) and Noah for the lower (worlds). What does this mean? It can be understood in keeping with what our Sages, of blessed memory, said: A good righteous person. How so? Can there be a righteous person who is not good? Rather, (one who is) good towards heaven and not good towards people is a righteous person who is not good, while one who is good towards heaven and towards people as well is a good righteous person. This means that there may be a righteous person who is righteous with his Creator and fulfills His commandments but is not charitable and compassionate with people…This is what was meant by "Noah was righteous and whole-hearted" – that he was perfect in his worship, and good towards both heaven and people.
Avodat HaTzedakah, On the Torah, Noah weekly reading portion, p. 16, Ahavat Shalom Publishing, Jerusalem, 1987