re wild animal attacks if sin continues:
The passage in the Bible that specifically states God will send wild animals to attack you if you continue to sin (or walk in hostility against Him) is Leviticus 26:22.
This verse is part of a larger section in Leviticus (specifically verses 21-22) that outlines the consequences the Israelites would face if they remained hostile towards God and refused to listen to Him. The passage states: "If you remain hostile toward me and refuse to listen to me, I will multiply your afflictions seven times over, as your sins deserve. I will send wild animals against you, and they will rob you of your children, destroy your cattle and make you so few in number that your roads will be deserted".
This warning is part of a series of curses described in the Book of Leviticus that would befall the Israelites if they broke their covenant with God.
Similar consequences involving wild animals are mentioned in other parts of the Old Testament, illustrating the idea that persistent rebellion against God can lead to the removal of divine protection. Examples include:
Ezekiel 5:17
Ezekiel 14:15
2 Kings 17:25
2 Kings 2:24
