What are some reasons that a kid from a good/stable family would turn out to be bad?

Outside influences, mental illness, overindulgence, perfectionism