If We Take Out ISIS, Won’t That Strengthen Iran?

Won’t that just cede Syria to Iran just like we ceded Iraq to Iran? Will that be a good thing? Just asking…