There is nothing either good or bad but thinking makes it so
Attribution checked
Quothly found supporting evidence for this attribution.
The line appears in Shakespeare’s Hamlet (Act II, Scene II) — the Folger (and other authoritative editions) documents the wording: “There is nothing either good or bad but thinking makes it so.”
Folger Shakespeare Library (blog)