A man has walked free after his meth use "destroyed his life, and that of his family", a magistrate has ruled.