This is not about riches vs poverty. It is about the condition of the heart.
Jacob complains about how Laban changed his wages ten different times. God was watching that injustice and kept Laban from harming Jacob.
Peter was a frustrated, unhappy man searching for the promise of a treasure that was not there.
The tantrum of a spoiled-child that hasn’t learned life’s first lesson. Instead of repenting and turning to the Lord, her envy multiplies into several sins.