Yes, Xbox Live Gold (now Xbox Game Pass Core) is required for online multiplayer on Xbox 360, Xbox One, and Xbox Series X|S, regardless of connection type (wired, wireless adapter, internal Wi-Fi).
Buy digital codes from Microsoft, Amazon, Best Buy, Target, Walmart, CDKeys (authorized). Avoid "free code generators"—scams.