Baruch Spinoza said this quote

Every person should embrace those [dogmas] that he, being the best judge of himself, feels will do most to strengthen in him love of justice.