Australia had a major outbreak in Victoria in July last year. Victoria has a 2,550km land border with other states, including with South Australia, which peaked at 10 active cases over the same time period.
The evidence shows that strict quarantining and early lockdowns prevent spread even when there's an outbreak on the other side of a land border, and it also shows that being an island doesn't help at all if you don't do this (see also: the United Kingdom). I don't know why people constantly act like Australia and New Zealand only succeeded because they're islands when they were locking cities down at single digit case counts while the United States and India were packing stadiums full of people when they were getting tens of thousands of new infections a day.