It’s a bit of a stretch to say Ethiopia is in the Middle East.
North Africa has fluctuated between being part of the Middle East and not. I would say under the modern definition you are correct most scholars cut it off at the border of Egypt and North Africa.