Virtue is everywhere, that which is thought praiseworthy; and nothing else but that which has the allowance of public esteem is called virtue.
 John Locke, An Essay Concerning Human Understanding (1689). copy citation

Context

“That this is the common MEASURE of virtue and vice, will appear to any one who considers, that, though that passes for vice in one country which is counted a virtue, or at least not vice, in another, yet everywhere virtue and praise, vice and blame, go together. Virtue is everywhere, that which is thought praiseworthy; and nothing else but that which has the allowance of public esteem is called virtue. Virtue and praise are so united, that they are called often by the same name. Sunt sua praemia laudi, says Virgil; and so Cicero, Nihil habet natura praestantius, quam honestatem, quam laudem, quam dignitatem, quam decus, which he tells you are all names for the same thing.” source