From Calvin's commentary on 1 Tim 2:2:
The second fruit is the preservation of godliness, that is, when magistrates give themselves to promote religion, to maintain the worship of God, and to take care that sacred ordinances be observed with due reverence. The third fruit is the care of public decency; for it is also the business of magistrates to prevent men from abandoning themselves to brutal filthiness or flagitious conduct, but, on the contrary, to promote decency and moderation. If these three things are taken away, what will be the condition of human life? If, therefore, we are at all moved by solicitude about the peace of society, or godliness, or decency, let us remember that we ought also to be solicitous about those through whose agency we obtain such distinguished benefits.
Hence we conclude, that fanatics, who wish to have magistrates taken away, are destitute of all humanity, and breathe nothing but cruel barbarism. How different is it to say, that we ought to pray for kings, in order that justice and decency may prevail, and to say, that not only the name of kingly power, but all government, is opposed to religion! We have the Spirit of God for the Author of the former sentiment, and therefore the latter must be from the Devil.
If any one ask, Ought we to pray for kings, from whom we obtain none of these advantages? I answer, the object of our prayer is, that, guided by the Spirit of God, they may begin to impart to us those benefits of which they formerly deprived us. It is our duty, therefore, not only to pray for those who are already worthy, but we must pray to God that he may make bad men good. We must always hold by this principle, that magistrates were appointed by God for the protection of religion, as well as of the peace and decency of society, in exactly the same manner that the earth is appointed to produce food.
Accordingly, in like manner as, when we pray to God for our daily bread, we ask him to make the earth fertile by his blessing; so in those benefits of which we have already spoken, we ought to consider the ordinary means which he has appointed by his providence for bestowing them.
To this must be added, that, if we are deprived of those benefits the communication of which Paul assigns to magistrates, that is through our own fault. It is the wrath of God that renders magistrates useless to us, in the same manner that it renders the earth barren; and, therefore, we ought to pray for the removal of those chastisements which have been brought upon us by our sins.
On the other hand, princes, and all who hold the office of magistracy, are here reminded of their duty. It is not enough, if, by giving to every one what is due, they restrain all acts of violence, and maintain peace; but they must likewise endeavor to promote religion, and to regulate morals by wholesome discipline. The exhortation of David (Psalm 2:12) to “kiss the Son,” and the prophecy of Isaiah, that they shall be nursing — fathers of the Church, (Isaiah 49:23,) are not without meaning; and, therefore, they have no right to flatter themselves, if they neglect to lend their assistance to maintain the worship of God.”
AMR