A lot of people recommend writing down your passwords in case something happens to you. It's important to plan for your loved ones, but writing down passwords is error prone, puts you at risk and probably won't work in a few years due to 2FA.
Here's what you should do instead:
1) Have a will and a power of attorney document in case you are incapacitated. This is 100% the most important thing you can do for your family to prepare for the worst case