In the same way having a 401k or superannuation does.
Which is to say not very much, and the borders of class are a little fuzzy. AFAIK dividends are not the main way to make money off stock any more and I doubt anyone on robin hood was seeing that increase their wealth.