In these verses, Yahweh speaks of the false security of peace that the prophets spoke as if they had built a poorly-constructed wall and covered it over with white paint in order to make it look good.
Here "a wall" stands for peace and security that the false prophets told the people Yahweh was promising to give them. Whitewash is a white liquid mixture or paint used to cover up impurities and make surfaces white.