Strength of Stones, Greg Bear
A collection of religious groups settled a planet and built marvelous cites. The cities were programmed according to the scriptures and soon found that mankind was wanting. All were expelled and a thousand years they later still wander the planet looking on at the empty cities. However the cities stripped of purpose are dying.