Both of these phrases refer to what the people of Israel have done. The word "ways" refers to the way they live their life. This is another way to say their "actions." If your language has only one way to express this you can translate this in one word. AT: "their actions" or "the things they do" (See: [[rc://en/ta/man/translate/figs-doublet]]