At a guess, it's diplomacy. Try to avoid founding early religions, for example, and certainly don't convert to any until you see how things're panning out. Make sure you get trade routes going early, so religion will spread into your lands, then pick the one that looks like it'll be the most...