https://www.nih.gov/health-information/nih-clinical-research...
https://obamawhitehouse.archives.gov/blog/2013/02/22/expandi...
If you don't have a solution for that, it rings rather hollow to complain about how evil the pharma companies supposedly are when they are only responding to the incentives that we created for them.
This problem aligns far better with capitalism. Companies have incentive to do the work because they stand to make a windfall if they succeed. Governments don't.
I could be wrong of course. How would we test this? Well we have a pretty good free market for this right now - corporations are free to develop new drugs, and so are governments. Corporations develop lots and lots of new drugs at breakneck speeds. Governments by and large don't. Not that they never do, but it's a trickle, relatively speaking. If you want governments to develop more drugs, why not just do that now? Show us all how your solution can work.
The only way to do what you seem to want would be to actively prevent corporations from doing drug development work. So you would be actively preventing new drugs from being developed by organizations that are proven to be able to actually do it in favor of a setup that is demonstrated to work worse. In short, you would be actively making the world a worse place because you have some weird hangup about people making a profit off of something.
https://www.nih.gov/health-information/nih-clinical-research...
"we encourage people who redistribute free software to charge as much as they wish or can." - https://www.gnu.org/philosophy/selling.html
They can even publish it on say Wikipedia or platforms like that or just on the research facilities website.
That said I do love/agree with open sourcing much of the stored knowledge funded by govt.