In this sutta we meet some people who believed that by imitating animals they would be saved.
Belief is often one thing, action another.
While beliefs sometimes influence actions, for other people their beliefs are quite separate from what they do. But the Buddha says all intentional actions, whether thoughts, speech or bodily actions, however expressed, are kamma and lead the doer of them to experience a result sooner or later. Kamma can be mixed, where an action is done with a variety of motives, some good, some evil. And that kind of kamma also exists which gives up attachment to and interest in the other three and so leads beyond the range of kamma. Thus have I heard.