More info here: https://www.earthquakecountry.org/step5/
It’s ludicrous to say never leave a building in an earthquake.
It depends on circumstances.
I remember a few years ago I was teaching a class to graduate students and it was this day. At the end, the designated official, they got to wear special vests, came in to make sure we did the drill.
It entailed everyone sitting under tables for a few minutes. It was kind of surreal.