Literally, “if you don't touch a deity, it will not curse you”.
触らぬ神に祟りなし (hiragana さわらぬかみにたたりなし, rōmaji sawaranu kami ni tatari nashi)