For many African countries, such as the DRC, this is not the case. They have inherited borders and population groupings that date from colonial eras and have more to do with arbitrary lines drawn on a map than the actual ability of each country to enforce or protect them. As a result there is seldom a single point of origin from which to begin the creation of a security umbrella and then expand outwards; instead they have to individually try to secure a number of cities and towns situated far apart from each other while trying desperately to get a hand on the largely undeveloped and un-patrolled areas in between. To use the DRC as an example, the national army has virtually no control over the land between Kinshasa, the capital, and cities like Goma and North Kivu. There is no proper level of internal security.
To be fair, your point about the quality (or lack thereof) of African security forces is valid. There's no doubt that if more African armies were well-trained, disciplined and professional they would be able to make far more effective use of the limited resources available to them. Unfortunately, most are as useless and corrupt as the political hierarchies governing their countries. But my point was that even with well-trained forces, the vast distances across which many African countries stretch make an already difficult situation so much harder to deal with on the tiny budgets most African countries have available. And that even those who do attempt to get their act together are dragged down by the fact that trade, the one thing that could lift them out of poverty, is often severely restricted by geography.
Through the majority of US and Canadian history, the same could be said of both countries. (Canada did send the mounties out in advance of the settlers, but there weren't enough of them.)
Let me suggest that the problem is not the lack of security forces but the need for them, especially since they tend to turn into "thugs, rebels, criminals and assorted other unsavoury types".