Franklin Youth

What does the quote "keep flax from fire, youth from gaming"by benjamin franklin mean?

I have a english paper due describing this quote and i have no idea what it's trying to say, Pleasee Helpp. Thankss

Just as you'd keep inflammable stuff away from fire, keep young people away from gambling.

Gaming = old word for gambling (there was no other meaning for "gaming" in the 18th century when Franklin wrote this).

Flax = either the plant (aka linseed) they make linen from, or an archaic word for the fibre used for candle wicks. Either way, it catches fire easily - and Franklin is comparing this with the addictiveness of gambling.