Religion was the ultimate glue for early human civilization. It literally built the first hospitals, universities, and shared moral frameworks we still rely on today.
Not the ultimate glue—survival needs, trade, law, and kinship did huge work too. Religion often reinforced institutions more than it created civilization itself.