The government certainly doesn't like monopolies, but as long as they are achieved in the prescribed ways and not abused, they are perfectly legal.
It is illegal to take certain acts that would form a monopoly (which is why the government blocks or puts terms on, e.g., some mergers) and it is illegal to use monopolies in certain ways to advance market power in other markets (one of the remedies for which may be breaking up the monopoly which was illegal leveraged.)
But simply gaining and maintaining a monopoly is not illegal, so long as you don't gain it by illegal methods or do illegal things with it.
The DOJ only opposes mergers and acquisitions which would substantially alter market conditions to increase prices faced by consumers in a way that market forces would not normally support. For example--Verizon and AT&T could never merge, because their combined market power would effectively let them set whatever price they wanted for nationwide cell+data plans. On the other hand--Sprint and TMobile could merge, because without the merger both companies are in danger of failing but as a result of a merger could theoretically compete with Verizon and AT&T.
Except for all the mergers and acquisitions that are stopped by the government because the government feels the result would be too monopolistic.