Better heresy of doctrine than heresy of heart.
John Greenleaf Whittier (1857*). “Poems of John Greenleaf Whittier”, p.203

Better heresy of doctrine than heresy of heart.