If the shoe fits, wear it- Origin?

What is the origin of this phrase?

Can't help, except to say that in the UK the saying is 'if the cap fits, wear it'. It's use is clear and I guess it's centuries old.

Replies

See also: the meaning and origin of 'If the shoe fits'.