There are three sections in this chapter, each prefaced by “the word of the Lord came to me” (22:1; 22:17; 22:23). In the first one Ezekiel is invited to judge Jerusalem, or asked if he will, with expected answer being that he should. Now an awful lot of nonsense is talked about “not judging others”. Infact, when someone ways this you can be pretty sure that the next thing they say will be utter nonsense. Usually it is quoted as an excuse for saying “don’t tell me I am sinning”. Here Ezekiel is told to confront Jerusalem with “all her detestable practices”. If we read the gospels and Acts those who are spoken well of are people who know they are sinners, and all the preaching either states explicitly that the hearers are sinners, or assumes that they are. We have a great, and unhelpful, reluctance to do this today, so not wanting to offend anyone.