If you allow a will unchallengeable validity whatever condition a man near the end of his life may have been in when he drew it up, he might make any number of mutually inconsistent provisions that contradicted not only the spirit of the laws but also the inclinations of those who survive him, and indeed his own earlier intentions before he set out to make his will.