It can't be the only reason. Saudy Arabia and Dubai are not exactly third-world countries.
Here's a world map showing population cancer rate: https://ourworldindata.org/grapher/share-of-population-with-... Definitely cancer is positively correlated with wealth, but there is clearly another factor as well.