Here's the context:
First, we recognize that police power draws from the credo that “the needs of the many outweigh the needs of the few.” Second, while this maxim rings utilitarian and Dickensian (not to mention Vulcan21), it is cabined by something contrarian and Texan: distrust of intrusive government and a belief that police power is justified only by urgency, not expediency. That is, there must exist a societal peril that makes collective action imperative: “The police power is founded in public necessity, and only public necessity can justify its exercise.”22 Third, whether the surrender of constitutional guarantees is necessary is a legislative call in terms of desirability but a judicial one in terms of constitutionality. The political branches decide if laws pass; courts decide if laws pass muster. The Capitol is the center of policymaking gravity, but the Constitution exerts the strongest pull, and police power must bow to constitutional commands: “as broad as [police power] may be, and as comprehensive as some legislation has sought to make it, still it is subsidiary and subordinate to the Constitution.”23 Fourth, because the Constitution claims our highest allegiance, a police-power action that burdens a guarantee like the Retroactivity Clause must make a convincing case.24 Finally, while police power naturally operates to abridge private rights, our Constitution, being inclined to freedom, requires that such encroachments be as slight as possible: “Private rights are never to be sacrificed to a greater extent than necessary.”25
http://www.supreme.courts.state.tx.us/historical/2010/oct/060714c2.htm#_ftnref21
Note: "cabined" means limited, contained in a small place
TL;DR: The Vulcan quote was used as an example of evil to be contained, not as a guiding principle.