Why phrase this as an either or question?
Most of what we are seems to be a combination of genetic and mimetic components (DNA and culture – with a bit of personal creativity sprinkled on top). Much of our culture is learned in one sense, yet is derived from the differential survival of things in another sense.
So like most things in biology, it is both. We seem to be sufficiently complex that if you can think of a system or a pattern, then you can find an example or instance of it at some level of human functioning.
Very rarely is being human an “either or” sort of thing.
Mostly it seems to be a “both and” sort of thing, and mostly it is highly context sensitive – so depending on context you will find instances that are very nearly one or the other, and overall it is both.