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.
(My personal belief is that both of these effects exist. But I have no hard proof for either of these claims)