Money and the pursuit of wealth is a major theme in An Enemy of the People. Ibsen's play highlights the incredible power that monetary concerns have in society. All of the characters in the play are controlled or influenced by wealth or the lack of it. Some compromise their beliefs out of need of for money, others use it as a weapon, while one man forsakes it altogether in the name of his principles. As in many of Ibsen's other plays, the power of money is felt in every corner of An Enemy of the People.
The Mayor is forsaking moral obligations in order for the town to grow richer.
The actions of the Mayor are justified because he is only fulfilling his duty to make his town prosperous.