CVS Health rode double-digit sales growth from drugstores and its pharmacy benefits management business to a better-than-expected third quarter.

The health care giant also hiked its 2025 forecast well above Wall Street estimates. But it booked a nearly $6-billion charge for scaling back the Oak Street Health clinic business it bought two years ago.

Overall, the company said Wednesday that it lost nearly $4 billion in the third quarter counting that charge. But total revenue grew almost 8% to $102.9 billion. Adjusted earnings came in at $1.60 per share.

Analysts had expected earnings of $1.37 per share on $98.81 billion in revenue, according to the data firm FactSet.

CVS Health Corp., based in Woonsocket, Rhode Island, runs one of the nation’s largest drugstore chains and a huge pharmac

See Full Page