From the time that you had made your first sob on being presented to a new environment, taking your first gulps of air, noticing the strange smells and the blurred shapes and vivid color and sounds. Your life has been shaped and its all been out of your control until you can think for yourself.
You are a creature that can learn, your body and brain is amazing, at birth you are ready for programming that's when it all started. Babies are born with natural instincts such as knowing how to suck milk from their mother's breast and how to cry to get attention when dirty or hungry. Babies have been proven to be able to swim if placed into water and to hang on to the branch of a tree. Its part of the survival factor.
The programming is started off normally by two very confused adults that have been indoctrinated by their culture and leaders. You the infant are indoctrinated with their life long beliefs and your freedom of thought will be eroded away to match the thoughts of your programmers. By the time you are 18 years old you are part and parcel of your cultural environment. Your religion will normally be the same as your parents or at least on a similar track. Even your political view will be influenced by adult programmers including your parents. Though you think you are thinking for yourself you are influenced by your indoctrination as a child.
Then if you are heterosexual you will hunt down a partner to mate with your thoughts being that it's the normal way of life to have a family so you have sex many times with your new partner, normally within a short period your wishes are answered the female becomes pregnant nine months later you both become two pretty confused programmers.
There much more to life of course but the main factor is survival of the race all the other factors such as religion, politics, wars and greed etc, are the opposing gears to the main protocol. Most humans want to live peaceful fulfilling lives to love and bring up a family in a peaceful environment and a peaceful world. That's Life!