The education system was applied to everyone joining national schools and universities. That includes Qataris as well as expatriates whose kids join government schools.

In this regard, I wonder why the expatriates future genereations did not fail.

The answer is simple. They were working hard (studying) to find themselves a place in the work market knowing that their qualifications is the gatepass to successful future. So we cannot blame the education system.