You need to look at what year you’ll actually make back the pay you lost.
Then how much more you’ll be making over the next few years after that.
A lot of us took a pay cut and lost the first year or two. But after a few years it was more than worth it.