This is a metaphor that means the scribes and Pharisees appear pure on the outside to others, but on the inside they are wicked. (See: [[rc://en/ta/man/translate/figs-metaphor]])
The Pharisees were spiritually blind. Although they thought of themselves as teachers, they were unable to understand God's truth. (See: [[rc://en/ta/man/translate/figs-metaphor]])
This is a metaphor that means that if they would become pure in their inner being, then the result is that they would be pure on the outside as well. (See: [[rc://en/ta/man/translate/figs-metaphor]])