Yahoo's acquisition by Verizon was a tire-fire train wreck of epic proportions. In no universe is this something to emulate. There's a good reason every single Verizon exec involved in that deal was gone relatively shortly after this disaster.
They basically incinerated $5 billion in the process of buying Yahoo, merging it with AOL to form "Oath", doing many rounds of layoffs with extremely overgenerous severance packages, strip-mining the business units in ill-conceived deals (often in exchange for stock in absurd companies like MoviePass and Buzzfeed), and then eventually dumping the remainder on a PE firm at a huge loss.
Or, as Wikipedia succinctly summarizes these events, "the integration did not deliver the expected value".