Do you have any idea how much does it cost to develop a pharmaceutical product that actually comes into the market from the moment that new drug is discovered?
You need to go through screening thousands of candidates, making hundreds of modifications on those drugs, to make them have the exact properties you want. For this you need years of dozens of paid full-time PhD researchers working on that new drug.
And once a potential candidate is identified, you are only getting started. You have to optimize it further through different phases, which also take more than 5 years.
And guess what. In any of those phases or trials, your drug might be just not good enough, and you need to drop it, and all those years and investments are not even potentially profitable anymore.
Each drug that is on the market needs an average of 2.6 billion dollars to get there. It takes at least 10 years for a single drug to go from first discovery to market.
So of course they are being sold at prices much higher than manufacture costs. You need to cover all the R&D, not only for that drug, but for the others that didn't make it through. Otherwise pharma companies would not exist and we all would just die in our 40s
All that being said, I agree 100% with OP.
Learn to be a little bit human. Money is worth nothing.