underdeveloped country + socialism = corruption
corruption is the symptom of socialist policies and not the root cause.
Socialism creates the sense of entitlement,
And when there is no money to fund such entitlement programs, people use corruption without even blinking an eye.
Why?
because socialism says “you deserve it”, and if the government cannot provide, you steal it (from the government or from the fellow countrymen).