# which were practiced here before you
"which the people did here before you came"
# by them
Here "them" refers to the detestable customs.