This is the samanvay (coordination) of adhyaatmavaad (spiritualism) and bhautikavaad (materialism). The bhautikavaadi says, “There's no God! I don't need God! I will find happiness in this world.” And the adhyatmavaadi says, “Only God is true happiness and I don't need anything from this world!”
And Jagadguru Shri Kripaluji Maharaj says, “Both are wrong.” The adhyatmavaadi is right about where true happiness is, but he's wrong if he thinks he doesn't need this world.” Even a God-realized Saint, a paramahans, needs this world. As long as he's inhabiting his physical body, he needs food, he needs water, he needs air. He has to support his body. So if a jivanmukt paramahans requires all of those things, certainly we do as well. And of course, in the bhautikavaadi, we can all see that if someone truly believes they can find perfect happiness from this world, they're deluding themselves.
So the bhautikavaadi and the adhyatmavaadi are both wrong. You have to reconcile the two. God is the goal, but this world is necessary as a means to reach our goal.
Shri Krishna says,
युक्ताहारविहारस्य युक्तचेष्टस्य कर्मसु | युक्तस्वप्नावबोधस्य योगो भवति दु:खहा ||
Yuktāhāra-vihārasya yukt-cheṣhṭasya karmasu. Yukt-svapnāvabodhasya yogo bhavati duḥkha-hā.- Gita 6.17
“Arjun, this path is for one who leads a balanced life. He shouldn't eat too much or eat too little, sleep too much or sleep too little. He should find a healthy balance in his behavior with others, in his actions in the world, in his personality. He has to find a balance.”