Why did so many African countries face difficult challenges after winning their independence?

Pls help! I need to write 1-2 sentences about this! Its my last assignment for this year! I promise to give credit!

One of the most pressing challenges African states faced at Independence was their lack of infrastructure. European imperialists prided themselves on bringing civilization and developing Africa, but they left their former colonies with little in the way of infrastructure.

I Just Found This off of google
but this is why!

After gaining independence, many African countries encountered numerous challenges due to several reasons, including the sudden transition from colonial rule to self-governance, the legacy of socio-political divisions created by colonial powers, and the lack of adequate infrastructure and resources necessary for efficient self-administration.