Lord Melbourne said this quote

The whole duty of government is to prevent crime and to preserve contracts.