Is the habitual drunkard law a means to a healthy Commonwealth, or a measure to keep homeless people off the streets?

Virginia's Public Square
Virginia's Public Square
Is the habitual drunkard law a means to a healthy Commonwealth, or a measure to keep homeless people off the streets?