To any place at all; wherever (formal or literary).
- The explorer was free to go whithersoever his curiosity led him.
- The law allowed citizens to travel whithersoever they pleased within the kingdom.
- In the story, the magic carpet could take them whithersoever they wished.