Had the same thing happened to me. Bought a house that the previous owners were chain smokers. Spent all day getting the kitchen painted a nice brick red. Left to go get supper. Came back to the same beige walls from before painting. All of the paint had slipped down and off the walls. Great mess to clean up and start all over.
For bonus points, the previous tenant in my house was apparently also running a 3D printer business of some sort, so there’s a fine black powder in all sorts of unimaginably impossible-to-reach places. And he did his own electrical work, making it a miracle that the house never caught fire.