Here's the phrase from "O Jesu":
And here's the beginning of the Quodlibet from Bach's Goldberg Variations, BWV 988:
[notation found here] |
While the specific note values are different, the ratios of the lengths are the same (those in the Quodlibet are half those in "O Jesu"), and while the two phrases are in different keys and begin on different pitches, the intervals are the same.
I did some research and discovered that the Goldberg Variations were published in 1741, which is the same year listed for "O Jesu" in The Lutheran Hymnal. Under the title of the tune, it reads: "Evangelisches Gesangbuch" Hirschberg, 1741.
However, the Quodlibet is Bach's combination of tunes from German folk songs. According to a diagram on this website, this phrase in the Quodlibet was taken from the folk song "Ich bin so lang nicht bei dir g'west." So I'm not sure whether this phrase in "O Jesu" came from that folk tune (either directly or via the Goldberg Variations) or whether its similarity is just coincidental.