I think the problem is simplistic thinking where if one group is labelled "baddies" and some other group is fighting them, then that group must automagically be "goodies"
The reality is that often both are "baddies".
Al Qaeda? Muslim Brotherhood? ISIS? All fight amongst themselves for dominance but none of them are the good guys.