What was the comparative history of religion in seventeenth-century Europe? And why did Pierre Bayle believe in virtuous atheists?

All very welcome