It wouldn’t surprise me. While my Grandma had alzheimers, my Grandpa resolved to make sure he outlived her so she wouldn’t have to go through every day finding out her husband was dead.
At her funeral, Grandpa was in a very good mood. He gave off a Mission Accomplished vibe. He passed 30 days later.