The article says directly: “One might even suffer greatly and still live a virtuous—that is: a good—life. When Aristotle speaks of a “happy” life, he means a fulfilled or flourishing life rather than a pleasurable one.”
Suffering certainly does make it harder to be virtuous, but you can interpret that not as disregarding the poor but as giving even more justification for orienting society toward satisfying everyone’s basic needs.