Does word "teach" have the same meaning in the following two sentences?

Can you teach me to sew?

I taught them French.
the same meaning