Add onions and sauté for two minutes, or until golden. Add butternut squash and 2 tablespoons water and cover; cook on low for 10 minutes. Remove lid and add figs, garlic, spinach, salt, sage, and pepper and cook for another 3-4 minutes. Set aside to cool.