From my understanding, the 1904 Entente Cordiale between France and Britain was widely the result of their Empires overstretching. It was mutually beneficial for both to cooperate in their global colonial ruling as that was a lot more economically efficient to work as a peaceful alliance rather than it would have been otherwise. Both powers could mutually benefit of the facilities of one another to master sea trade as a kind of unrivaled cartel. Bringing Germany to the game was clearly not in their interests. As a matter of fact, it seems so obvious when you think about it that we can hardly understand the logic of the "Britain and the US should have allied with Germany instead of France" usual narrative. Behaving aggressively towards France would have really endangered trade flows in the British Empire.