If you can get the money in this account immediately, it might still serve it's purpose - as a means of storing liquidity. But with returns below inflation, it definitely is a bad investment.
In the long run, your index funds should clearly beat inflation. Where do you invest? I do not know how the situation is like in South Africa, but in the US or in Germany you should expect 8 to 12% on average. This means there may be some years with 25-30%, some years stocks will just go sideways and there are crashes and recessions, meaning stocks may go down drastically, as last seen in 2008. So your 5-6% should not be to alarming, the average return of stocks is just that: average, over many, many years, with wild volatility in between.
You might want to have a closer look on expense rates and fees, though, as they can really eat into profits. Not only are there running fees, but often funds are sold with a premium (which in Germany can be as high as 5%!). Highest premiums will be found at managed funds and lower at index funds, but even between index funds there might be huge differences. These premiums can really kill your returns during the first years... The longer you hold the funds the less will they matter.
Then you want to make sure you're buying index funds that are actually recreating the index by buying stock - and not just tracking the index's performance buying derivatives. The latter might be cheaper, but they mean a different set of risk - not only the usual stock market volatility, but also risk the bank issuing the derivatives might default. And, most important: only the real, all stock index fund will pay out dividends, which will provide some profit even in sidewards markets.