I hope you were properly disciplined for that! Did you use your fingers?I recall as a child, someone who put certain types of solid biological waste matter on the walls. Would you question repainting those walls after the matter was cleaned off?
The key here is "prevention". Children are not being properly supervised if allowed to do this nasty act, mark on walls with crayons or scratch walls etc.