I truly believe you can be just as holy when you are financially comfortable as you can be when you are poor. Perhaps it is easier to cry out to God for help when you are in need. If we Christians put God in our hearts ahead of material things we should be able to live above our circumstances whether that involves prosperity or poverty.
Poverty is a curse, not a blessing. It is certainly not equated with righteousness. It comes sometimes because of the horrors of war, sometimes because of unjust or unwise government, sometimes because of oppression by the greedy and ruthless, sometimes because of disobedience to God's commandments, and sometimes because of lack of knowledge of God's principles of blessing. Sometimes temporary poverty follows a satanic attack or a serious and unexplainable calamity. Whatever its cause, poverty is not equated with holiness.
However, simply being poor is not a sign of holiness. Of course, neither is being wealthy. Godly people are those who are content wherever God has placed them and who are serving Him to the best of their abilities, irrespective of material circumstances(1 Tim. 6:6, 17-19). We need to be encourage because we have some hard times ahead.