"God" doesn't come into the equation. It depends on how lucky you were in selecting your parents. You'll not only inherit their DNA you'll inherit their social standing and, indeed, the society you were born into.
About 80 years ago a very clever man named Ogden Nash put it this way:
I'm an ordinary figure in these democratic states,
A pathetic demonstration of hereditary traits.
As the children of the cops possess the flattest kind of feet
And the daughter of the floozie has a wiggle in her seat,
My position in the basement of society I owe
To the qualities my parents bequeathed me long ago.
Now, my father was a married man, and what is even more
He was married to my mother, a fact that I deplore
I was born in holy wedlock, consequently bye and bye
I got rooked by every bastard with plunder in his eye.
I invested, I deposited, I voted every fall
Did I ever get a penny saved, those bastards took it all.
Well, at last I've learned my lesson, and I'm on the proper track
I'm a self-appointed bastard, and I'm gonna get it back.