Correct, but if you die broke, nobody else is on the hook to pay your debts, unless that person cosigned a loan or something like that.
I am sure that there is no shortage of developers who hit a big payday at a FAANG or startup and then spent like it would never end.
The definition of broke could be the residual after the planned distributions to heirs. Or if no heirs, dying flat broke makes the most sense. Getting there is tricky.