Facebook spent years in court just to get hit with the largest fine in the history of fines, 5,000,000,000.00 USD. They also payed another 725,000,000.00 in lawsuits.
All for selling to a British market research company that they had no idea was a Russian shell.
Idk how much you think they made off the deal, but probably nowhere close to as much as they lost.