There's no universally "better" option—it depends on your play style, setup, and priorities. Both official Xbox controllers (Wireless Controller for Xbox Series X|S / Xbox One, and the wired variants) offer excellent build quality. Here's the breakdown.
Both are excellent. Choose based on how and where you play.