The powers granted under this subchapter are for the purpose of protecting the public health, safety, welfare, and morals.