Does not the Parable of the Talents show us through example that investing is acceptable?
Does not Ecclesiastes tell us that there is nothing better for people to do than eat, drink and enjoy the fruits of their labor - In other words - to enjoy a little prosperity?
We are warned against the love of money. I see this as pursuing wealth to the point of harming your family, your health, the well-being of employees, etc. God would wish us all to enjoy a little prosperity.
The entire proverb that I recall is that Money answers all things, but the love of money is the root of all evil.
Most people would not consider building security for your family to be the love of money.