The first forms of insurance were thousands of years old. Long before huge insurance companies with tall buildings, people and small societies were still trying to mitigate their risks.
Even if no money was involved, primitive forms of insurance have been implemented throughout human history. Ancient Chinese boatmen would distribute their cargo across a few different ships so that if a boat was lost, most of the cargo would be safe.
The cargo was irreplaceable. But the boatmen, not so much.
Insurance is a form of risk-management, so although this is not technically the insurance we know of today, it is still a form of insurance. Back then, societies were not organized enough to incorporate the monetary forms of insurance we have today. They did not realize that insurance can play an important role in society and save people from ruin, which in turn benefits society as a whole.