Does "weakness" mean the same thing in these two sentences?

His weakness increased as he became older.

He has a weakness for chocolate.
different meanings