Let grace and goodness be the principal lodestone of thy affections. For love which hath ends, will have an end; whereas that which is founded on true virtue, will always continue.
Source, in full
in The Holy State and the Prophane State (1642), this has sometimes been misattributed to John Dryden, as early as its occurrence in A Dictionary of Thoughts : Being a Cyclopedia of Laconic Quotations from the Best Authors of the World, both Ancient and Modern (1908) edited by Tryon Edwards