The Middle East is an area of the world where I haven’t spent a lot of time. I had a wonderful trip to Jordan in 2019. I also spent a couple weeks in Egypt way back in 2007. I would have no qualms about the safety of visiting either of those countries today.
If we go a little farther afield, my expertise is minimal. Fortunately for you, the folks from the Against the Compass wrote up a compendium of safety information for all of the Middle Eastern countries.
If you are looking to travel there, please check out the article linked below.