There are several ways to thicken spaghetti sauce. You can cook for longer to reduce the liquid, you can add starch or flour, or better: tomato paste.