Charm strikes the sight, but merit wins the soul.
'The Rape of the Lock' (1714) canto 5, l. 33

Charm strikes the sight, but merit wins the soul.