David Hume said this quote

Indulge your passion for science…but let your science be human, and such as may have a direct reference to action and society. Be a philosopher; but amidst all your philosophy, be still a man.