I’ve seen too many high performers impacted by RIF over the past two years. You can give it your all and they will still axe you despite doing exactly what you are asked to. No one is safe.
Don’t give this company all your time and energy. In 20 years the only people who will remember that you worked late are your kids.