To a certain extent, yes.
There are the genetic elements and the parental guidance and example.
But there are also other people who influence them, school, friends, general life - their experiences shape them too.
I think that as parents we give them their foundation. But the building (the adult) is made up of bricks from us, other relatives, friends, random strangers, life experience, the tv.........
That is why it is so important that parents give their children a strong, solid, good foundation. We gather bricks from all over the place, our whole lives, and we must have a strong base or our building will be wonky, liable to subsidence, or may even fall down!