It is important to point out, or prove if possible, that the place was not painted when you moved in. Likewise with painting.
This is why it is vitally important, when first renting a place, to note all deficiencies in great detail (after you’ve lived there a week or so to see them all), then send this to landlord to acknowledge this.
I encourage this for all my tenants. Saves arguments when they leave as there is a paper trail. Surprisingly, I usually have to prod & prod them to submit the list.