These two phrases mean the same thing. AT: "you sinned and made the land I gave you disgusting to me!" (See: [[rc://en/ta/man/translate/figs-parallelism]])
Here "defiled" represents making the land unacceptable to God. They did this by sinning against him there when they worshiped idols. AT: "by sinning, you made my land no good" (See: [[rc://en/ta/man/translate/figs-metaphor]])
Possible meanings are 1) God is speaking of his land as if he had inherited it. AT: "my land" or 2) God is speaking of the land hegave to Israel as if he had given it to them as an inheritance. AT: "the land I gave you" or "the land I gave you as an inheritance" (See: [[rc://en/ta/man/translate/figs-metaphor]])
The leaders are spoken of as if they were shepherds and the people who followed them were sheep. AT: "Their leaders sinned against me" (See: [[rc://en/ta/man/translate/figs-metaphor]])
# walked after unprofitable things
Here "walked after" represents obeying or worshiping. AT: "obeyed unprofitable things" or "worshiped unprofitable things" (See: [[rc://en/ta/man/translate/figs-metaphor]])
# unprofitable things
Unprofitable things are things that cannot help a person. Here it refers to idols.