In a medium pot with 2 cups of salted water, add the rice and 2 tbsp of Egyptian spice. Stir. Bring to a boil, then reduce heat to low and cover. Simmer until all of the water has been absorbed, about 20 minutes.
Boil 3 cups of salted water. Add lentils, reduce heat, and simmer for about 20 minutes, until tender. Drain and mix in with rice.
Cook the macaroni according to package directions until al dente. Drain and set aside.
In a large frying pan, heat 2 tbsp oil over medium heat. Add the sliced onion and cook, stirring frequently, until they turn a nice caramelized brown (about 15 minutes). Set aside.
In the same pan, add 1 tbsp oil and diced onion. Cook until translucent (about 5 minutes). Add in the garlic and cook 1 additional minute.
Add diced tomatoes, the remaining Egyptian spice, and a pinch of salt. Simmer the sauce until it thickens, about 15 minutes. Stir in the white distilled vinegar.
Assemble koshari: start with a layer of macaroni, then a layer of rice & lentils. Top with tomato sauce and caramelized onions. Serve hot & enjoy!