Increasing the quantity and quality of good influences on your children is just good parenting.
If I know there's a kid down the street who seems like he will grow up to be a criminal, and another kid who seems like he'll grow up to be a kind, hard-working, well adjusted person, there is a 100% guarantee I will encourage my kids to play with the second kid, not the first.