Corn flour as a thickener

I’ve had good success cutting out sugar and flour most of the time and intermittent fasting. I’m just wondering if a tsp of cornflour in a sauce or soup to thicken it will do harm. I made creamed spinach but couldn’t get it to thicken without it.