Recognize this piece of music, or the composer's handwriting?

https://shops.mountvernon.org/collections/ties-1/products/music-tie
I asked a musician friend of mine who thought it was probably from the early 18th C., but didn’t recognize the tune when he played what little he could see of it.

I wonder if this link might be of use.

Rio by Duran Duran?

It looks like JS Bach’s handwriting which makes sense with “musical cantata”