Sanding walls is an essential part of the preparation for painting. If you do paint over ill-prepared surfaces 1st. It won’t look very good, 2nd. It will not last as long as on a properly prepared surface. The paint will start to flake and bubble, which means will have to repaint, which will cost money and time.