Before running the open command I ran the following and I was able to use Xcode 13.2.1 in Venura.
sudo xcode-select -s /Users/username/Downloads/Xcode.app
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: