A Will is essentially your wishes on how your assets are to be distributed on your death and an important component of estate planning . If you are sued the will cannot protect your wealth.
Normally people pass on their assets via a will but the will does not protect your assets. It only says that the assets will go to someone if they are there at the time of the owner’s death. Therefore if you are successfully sued before you die and you lose your assets the will is meaningless as there are no assets to pass on.