Notice that this is only a correlation. We don't know if poverty in a country leads to more corruption or if corruption leads to less prosperity for everyone.
It's a fact that poverty leads to more corruption