A primer will indeed help to cover a dark wall when a lighter colour is to be applied. After two coats of primer, a dark teal colour, for instance, may now have a pale yellow painted with no advere effect. But a primer is a required preparation for the painting of any surface. A primer will prevent the absorption of subsequent layers of paint or the development of rust.