The main four objectives of Hindu way of life are
Dharma (righteousness, morality)
Artha (prosperity, wealth)
Kama (pleasures, marital bliss etc)
Moksha (spiritual pursuit)
From this, it can be understood that materialistic prosperity is not something opposed to spiritual prosperity. They both can coexist in the Vedic way of life.
Hinduism also does not preach extreme materialism like lokayata system or extreme nihilism like that of the buddhist sects. There is balance among these in the Vedic life.
This is the reason these are four important points of our lives. Righteousness is the most important value.
India was once very rich in both wealth and spirituality. But later on people started thinking wealth and power as evil and poverty as saintly.
This was reason for decline in the last 1000 years or so.
Talking about the Vedas, we find both materialistic and spiritualist subjects and hence they are not opposed to each other.
There are n number of Vedic hymns which prays for wealth, affluence, cattle, domestic pleasures, spouse, progeny, healthiness, longevity, victory, fame etc.
At the same time there are also portions which talk of spiritual progress and inward journey towards the own self.
Some of the examples of hymns for materialistic prosperity are:
Sri Suktam (hymn for abundance and affluence)
Hymn 17: A farmer's song and prayer to speed the plough
Hymn 15: A merchant's prayer for success in his business
Hymn 33: A prayer to Agni for protection and prosperity
Hymn 4: A charm against fever and other ailments
Hymn 17: A prayer for wealth and children
Same way there are verses and hymns for related to spirituality as well. If materialistic prosperity is obtained and enjoyed in a righteous way then there is nothing wrong about it.