"A decline in religious observance over the last century was directly linked to a rise in average intelligence."
This is a correlation, not causation. If you study the period of Islamic Golden Age (comparable to the European Renaissance), you'll find people at that time were highly religious; more religious than the Muslims from this era.