And under socialism in the 20th century, science was an institution that only funds research that advances whatever narrative the hermetic powers-that-be decided to push and strengthen their grip on power, their obsession with secretiveness and projecting an image of infallibility.
Take the Soviet Union.
T.D. Lysenko and his crackpot food engineering ideas is one such glaring example. But boy oh boy could he talk a "toe the party line" game and suck up to Stalin.
Or how about how the kremlin rendered nearly one quarter of Kazakhstan uninhabitable due to their relentless nuclear testing. And they nearly did that for all of western Europe with Chernobyl.
In the name of workers and science, we shall poison your land. Science for the workers' paradise, rejoice, comrades!