Who believed that end of the state is good of humanity?

Who believed that end of the state is good of humanity?

A. Locke
B. Hobbes
C. Spencer
D. Grotius
E. Hegel