Question: why are vagrancy laws passed?
Answer: The law was enacted to deal with the increasing numbers of homeless and penniless urban poor in England and Wales following the conclusion of the Napoleonic Wars in 1815.