While many Islamic countries pay lip service to the idea of freedom of religion, they don't put up with conversion from Islam to another religion.
In Saudi Arabia, among other countries, Muslims are not free to convert to Christianity, and Christians are not free to practice their faith. The Koran is not a rights-respecting document.
The rich countries are rich because of their practices at home, and because of their readiness to adopt and adapt new things, such as Chinese inventions or New World crops.