You are exactly correct. It’s a smart investment. You are basically investing in your late-life caretakers.
Everything you do now to help them out will be paid back with interest in the love and care they will provide to you when you need it most later.
Don’t wait to give it to them when you die. Give them what they need to build a successful life while you are still here.
Yes. What you said.