This was proven in the 90s. Stomach ulcers used to be bug business with lots of medicine being sold to live with them.
Then some independent doctor found out they were caused by a bacterial infection and certain antibiotics completely fixed them with one course of treatment and big pharma lost 100s of millions.