The traditional term is "concentration camp".
Pest houses have been around for hundreds of years.
They’re not a bad idea. Isolate the sick. Makes much more sense than locking up the healthy and locking up the healthy with the sick.
That said, this was never about public health.