When exterior paint peels or stains within a couple of years, the paint usually gets the blame. Most of the time the real cause is what was, or was not, done before the first coat.
Step one is washing. Concrete walls collect mold, mildew, dust, and chalky residue from old paint. Paint applied over that layer sticks to the dirt instead of the wall. Pressure washing takes it off and shows the true condition of the surface.
Step two is repair. Cracks need to be opened, filled, and smoothed, and any loose or bubbling paint has to be scraped away. Painting over a crack hides it for a season; repairing it keeps water out of the wall.
Step three is primer or sealer where the surface needs it, especially on repaired areas and bare concrete, so the finish coat cures evenly and the color looks the same across the whole wall.
Only after those three steps does the color go on. It is slower than painting straight over the old finish, and it is the difference between repainting in a few years and enjoying the result for a long time.