Retirement tax questions

So similarly my wife also had opened up a Roth at the same time 20 years ago with $4k and never took a distribution until 2021 where she it all and closed the account.  Would her prior contribution just be $4K?