Thats why we use Agregate indexes to measure performance.
e.g GDP growth, corruption index, economic inclusivity index, debt to GDP ratio, FDI per year, balance of payments, Exports per year, democracy index, peace index.
All of these JPM beats Uhuru by 10-0 yet he rakes in a salary that is 1/10 of uhuru kenyatta.
But harebrains like you point out at electricity as if TZ electrification is not at 70%+ or quote employee salaries as if you dont know the inflation in Tz is 3.5% vs kenya's 16%