Not by Denham, as often stated, but by Thomas Dekker. It is in his The Honest Whore Part 2, Act I, scene 2.
We're ne'er like angels till our passion dies.
Such is our pride, our folly, or our fate,
That few but such as cannot write, translate.
Wisdom's first progress is to take a view
What's decent or indecent, false or true.
Books should to one of these four ends conduce,
For wisdom, piety, delight, or use.
Quote text and notes from Wikiquote: John Denham (page history), available under CC BY-SA 4.0. Source quality and labels are our own summary of what Wikiquote records.