Which means you can have a bigger positive impact on their lives by being present than by giving them money.
On the other hand, $400m can ensure that for the rest of their lives they and their children and their grandchildren don't have to worry about being able to afford a home, good schools, good healthcare, etc. With future issues such as the rise of AI, global warming, and the erosion of international law, there are many dangers ahead including potential mass disruption to job markets and ability to earn a living. I'd rest easier knowing that I've given my descendants a solid chance of surviving all that, even if it means affecting my relationship with them for 10 years. It's a balance between pros and cons.
Now to be fair I might be wrong, since I’ve neither researched this nor given it much thought. Maybe there is research on deca- and centimillionaire heirs that shows positive effects of money on life satisfaction, happiness, health and other life outcomes. However I suspect it works similarly to sheltering kids from adversity, failure and hardship in general: disadvantages them psychologically and leads to more problems down the line.