The optics of having to kill dozens and dozens of zombies that were formerly African civilians, in scenes reminiscent of the horrid racism of Black Hawk Down, are pretty hard to get past... but the actual story is of a western megacorporation, owned by a council of fucked up ultra-wealthy eugenicists including several aristocrats, coming to Africa to steal a local resource, ignoring the warnings of the locals as to its danger, then performing horrific medical experiments on the locals culminating in giving all of them the zombie virus by lying that it's a vaccination program.
In RE4 the threat was native to the area of the outbreak, but in 5 the villain is very clearly plundering, racist, capitalist white guys trying to advance their genocidal ambitions.