“Risk” has excited forever. Risk is not a new recognition!
The danger that things might not work out had to be thought out since you had societies of moderate levels of complexity.
See: https://en.wikipedia.org/wiki/History_of_insurance#Ancient_e...
I wouldn't be surprised to find such relationships chiseled in ancient tablets. Trust, risk and reward among groups is a topic that animal behaviorists study. I'm certainly not in that field but I believe they claim it's a common evolutionary trait and have done experiments with children and primates to show primates lacking this intuition wherein 2-year old humans don't.
There was a lecture about this I saw recently. I'll have to dig it up
edit: here: https://www.lse.ac.uk/Events/2020/11/202011191630/cooperatio... links at the bottom
This is what pretty much every economist has said about market behavior. Participants don't need to understand theory for the markets to work. In fact, things get weird when participants DO understand it. Humans set prices long before written language was developed to describe supply and demand.