Which people who are critical of the shuttle love to do because it allows them to ignore all the great research, study, and orbital practice we built up using the shuttle.
We docked with Mir. We built the space station. We launched and captured satellites. We did untethered astronaut operations. We repaired several satellites including Hubble. We did zero g medical and electrophoresis experiments. We did tons of space habitation experiments.
While it's possible we could have developed a better vehicle the shuttle provided a premiere research and study platform for the entirely _new_ space industry we were trying to create. We didn't know what we were going to need until we did the work. The shuttle did that work wonderfully and provided several capabilities and massive amounts of electrical power that were unusual and massively aided our space program and our understanding of what the future would hold.
It annoys me that people focus on the unusual and ultimately flawed design of the shuttle and then use it as a means to judge the space program or NASA as a whole. We did huge, insane, and novel things with that absolutely beautiful machine. It set the stage for the next generation of space exploration and the program should always be cherished for what it was able to become.