Doesn't Libiya or Morocco have similar safety standards that Western countries like The US, Canada, Europe, Japan, or Australia do?

Because Libya and Morocco have been hit by natural disasters with death tolls in the thousands. Whereas in more developed countries it seems like it would be less if the same happened. Not meaning to be insensitive just curious.

Doesn't Libiya or Morocco have similar safety standards that Western countries like The US, Canada, Europe, Japan, or Australia do?
Post Opinion