While civil institutions were spread to colonies by colonialism, they were adopted by uncolonized countries also. Countries can adopt beneficial things without being taken over and having their resources and wealth extracted.
The same way Americans adopted civil rights from countries which had them earlier on. Europeans who banned slavery earlier than Americans did not need to invade America and extract its resources to bring them out of being a slave-owning polity.
While civil institutions were spread to colonies by colonialism, they were adopted by uncolonized countries also. Countries can adopt beneficial things without being taken over and having their resources and wealth extracted.
The same way Americans adopted civil rights from countries which had them earlier on. Europeans who banned slavery earlier than Americans did not need to invade America and extract its resources to bring them out of being a slave-owning polity.