If you hit a wrong note, it’s the next note that you play that determines if it’s good or bad.

miles davis
Miles Davis (1926-1991) American jazz trumpeter, bandleader, composer. [Miles Dewey Davis III]
(Attributed)
    (Source)

Related by jazz pianist Herbie Hancock, whom Davis startled when, after Hancock struck the wrong chord, Davis improvised and riffed off the chord for the remainder of the set. Attributed in W. Richard Patterson, Thinking Straight (2023)