The Wealth of Nations by Part 2 Chapter 3 Page 21

There was little trade or industry in Edinburgh before the union. When the Scotch Parliament was no longer to be assembled in it, when it ceased to be the necessary residence of the principal nobility and gentry of Scotland, it became a city of some trade and industry.

It still continues, however, to be the residence of the principal courts of justice in Scotland, of the Boards of Customs and Excise, etc. A considerable revenue, therefore, still continues to be spent in it. In trade and industry it is much inferior to Glasgow, of which the inhabitants are chiefly maintained by the employment of capital. The inhabitants of a large village, it has sometimes been observed, after having made considerable progress in manufactures, have become idle and poor in consequence of a great lord having taken up his residence in their neighbourhood.