You didn't teach your kids schit.
You just got lucky...statistically speaking.
A bunch of generalizations being presented as absolutes here.
About 90% of us grow up to be like our parents, good or bad, so obviously we learn a bunch from our parents just by being there.
I see it every day at work, a kid raised in a secure home with two loving parents is less likely to screw up. On the other hand, if your parents sucked and subjected you to various sorts of abuse, shot up in front of you, dealt drugs and fronted stolen merchandise, you might grow up a tad more fragile than you otherwise would.
Then there’s that other 10% that grow up different.