Here "the hills" represent the people's worship of false gods on the hills. The people now realize that those false gods could not guide and help them. Alternate translation: "The false gods that we worshiped on the hills could not guide us" (See: [[rc://en/ta/man/translate/figs-metonymy]])
People made a lot of noise on the hills and mountains when they worshiped false gods. Alternate translation: "We made a confusing noise on the mountains while we worshiped them, but they did not help us" (See: [[rc://en/ta/man/translate/figs-explicit]])