Yes and that is why
KSA, UAE, Israel, USA, Bahrain, Jordan, Libya's Haftar, Russia, and France were working together to topple the Muslim brotherhood
They were just too much of a risk and they would prefer an obedient military dictatorship rather than giving Turkey and Palestine any leverage...