Another way to say "You must boil water to cook spaghetti." is "In order to cook spaghetti, you must boil water."