Giacomo Casanova said this quote

They [his readers, whom he asks to be his friends] will find that I have always loved truth so passionately that I have often resorted to lying as a way of first introducing it into minds which were ignorant of its charms” (Casanova, p.34, Vol 1 Preface).