Xbox s eries x will not connect to my wifi

Why my Xbox series x not connecting to my wifi it connects to other wifi and works