And look at all of them, dirt poor and will never be prosperous again. and btw Suria has good relations with UAE now.
It's true that they are poor for now, and probably for the foreseeable future. However the Gulf states don't have a particularly bright future either, now do they? Their downfall has started, and it will only get worse within a decade or two. Once Gulf money dries up, the USA will no longer care. They will still be in the region to protect Israel, but they won't care about the UAE or Saudi Arabia.
Egypt's best choice would be to work with Turkey, as together they could divide the eastern Mediterranean pie and also work together strategically for the future. The important part here is north Africa, as both nations could easily eliminate any threats in the region while also benefiting economically. It would make the most sense for both countries, but instead Egypt has become best friends with its former enemies (Israel and Cyprus). The problem for Egypt is that it'll be left on its own sooner or later, as Gulf money dries up. Then if Turkey and Israel fix relations post-Erdogan/Bibi then Egypt will become a target, the same way Turkey is right now. The only difference is that Turkey is fully capable of standing against the coalition that it is facing. Egypt won't be able to, as even its geography isn't suitable for such circumstances.