In Australia, most states have publicly-funded selective schools. These are government schools with selective entry, typically based on academic performance or testing.
NSW: Selective schools (entry via test in Year 5 for Year 7 entry)
VIC: Limited selective schools; mostly through application and assessment
QLD: Selective schools exist but limited. Mostly private scholarships
All states also have independent (private) schools with scholarships.
Selective schools aren't inherently better. They're different. Smaller classes, accelerated pace, higher-performing peer group.