There are so many things that you can only conceivably do from the ground. You can build vastly larger telescopes on the ground, you can install far heavier instruments (like cameras and spectrographs) on them, you can upgrade and repair components much more easily. You can build massive arrays of radio telescopes. You get the point.
There are some things you can only do from space, or that are better in space, but saying that everything will be done in space is like saying we only need laptops and don't need datacenters. You need both.