Here's the dialogue:
DANIELS: This species has technology which allows them to examine alternate timelines. They've seen this future, and they want to change the outcome.
The Sphere Builders saw the Battle of Procyon V in a possible future. They saw themselves losing the war with the Federation, so they tried to get the Xindi to destroy Earth in the 22nd century. In doing so, they brought their defeat forward by 400 years. A spectacular failure.