One, by learning good things from their life.
Two, more importantly, learn what are the things you do not want from their lives into your life.
Your parents suffered so much because of those mistakes. The least you could do to them is not turn up like them.
There is no other way to honour their struggles.