Children who follow good people learn to be good, and those who follow bad people go bad.
Tips
grammar
In the first sense 好 is a result complement, 'until it is done well', as in 做好 and 写好. The negative is 没学好 'didn't learn it well'. The second sense is about character, the opposite of 学坏 'to go bad'.