Regarding Matt. 25:14-30, the short answer is, Yes they are required.
But, these good works must not emanate from us. They should not be “our” works per se, like atheists doing good. But works or “fruits” that come through the Holy Spirit that we merely expressed through and shown by “our works”.
As such, no one will boast (Eph. 2:9). By faith of Jesus, it took his death and resurrection for us to receive (Jn. 14:16) the in-dwelling of the Holy Spirit. This is a great gift, by the grace of God, to have and we must show “fruits of the Spirit”(Gal. 5:22-23).
Any good work that anyone can do by himself is as “filthy rags” (Isaiah 64:6) and not consistent or reliably sustainable as our “flesh is weak”(Matt.26:41).
Eph. 2:10 “For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them.”
Notice the example of Jesus at the garden of Gethsemane:
“He withdrew about a stone’s throw and prayed, ‘Father, if you are willing, take this cup from me; yet not my will, but yours be done'” (Luke 22:41-42). Matthew records Jesus as making his request of the Father twice: “Going a little farther, he fell with his face to the ground and prayed, ‘My Father, if it is possible, may this cup be taken away from me. Yet not as I will, but as you will'” (Matthew 26:39) and “He went away a second time and prayed, ‘My Father, if it is not possible for this cup to be taken away unless I drink it, may your will be done'” (Matt. 26:42). Mark records his prayer in a positive way, “‘Abba, Father,’ he said, ‘everything is possible for you. Take this cup from me. Yet not what I will, but what you will” (Mark 14:36).
While not “his will”, he expressed the “will of the Father” through his works empowered by the Holy Spirit. Similarly, we are the “vessel” through which the “fruits of the Holy Spirit” will be manifested. The “fruits/works” are of the Holy Spirit, even if we did those “works” ourselves.
Beware, we might be cut off as in:
Matt. 7:19 “Every tree that does not bear good fruit is cut down and thrown into the fire.”
Dan. 4:14 “He called in a loud voice: ‘Cut down the tree and trim off its branches; strip off its leaves and scatter its fruit. Let the animals flee from under it and the birds from its branches”
See also Matt. 3:10; Lu. 3:9, 13:7; John 15:2, 6;
We need to be overcomers, as in Rev. 3:5 “He that overcometh, the same shall be clothed in white raiment; and I will not blot out his name out of the book of life