Solomon is definitely not advising worldliness, materialism. What Solomon is talking about is contentment. God wants you to have joy - to be happy. He wants to remove your emptiness. But unless you view your food and drink and life as a gift from God, it will slip thru your hands.
Lets get real here.
A lot of people, including you and I, are looking for life filled with meaning and purpose. But the problem is that most people look in all the wrong places. The answer is from God. I guarantee a lot of people in your office, in your class, on your road are looking for God and don't even know it. They are sensing that their lives are empty and meaningless, and they are searching for something to fill that void.