you should really look up the profit margins of the largest PBM's, but they are now wholely owned by large insurance companies, or pharmacies. They are the middle men, and get a cut (and often rebates for selling over a certain amount)
https://www.drugchannels.net/2025/03/the-top-pharmacy-benefi...