The following quote from Elder Christofferson shows poverty does not equal unrighteousness:
“Remember that in the Book of Mormon promise, the opposite of prosperity was not poverty—it was being cut off from the presence of the Lord.”