Performance-wise, it was faaar weaker than the Xbox. The original Xbox was comparable to a mid-range PC at the time, with some concessions.
Pretty sure the GameCube was even more powerful, thought that thing had its own issues, obviously.
PS2 made up for it with games. Xbox had loads of amazing console/1st party exclusives too, just not as many.