"Though Mill is an advocate of limited government in ways that one might expect given his defense of basic liberties in On Liberty, he is no libertarian. He emphatically rejects the idea that legitimate government is limited to the functions of affording protection against force and fraud (PPE V.i.2). Instead, he thinks that there are a variety of ways in which government can and should intervene in the lives of citizens—sometimes as coercer and other times as enabler or facilitator—in order to promote the common good."
https://plato.stanford.edu/entries/mill-moral-political/#Lib...