Why Did Australia Federate?

Australia federated in 1901 was because they feared that they would be invaded and overrun from the north by other nations from Europe and Asia. They also unified because they didn’t think that the Brits had the colonies best interest at heart.