hit (someone)ให้ after ตี introduces the intended result or manner, as in “hit so that…” It is common in forceful commands and threats, especially with phrases such as ตีให้ตาย, “beat someone to death.”
TH: อย่าขยับนะ ไม่งั้นจะตีให้เจ็บเลย
EN: Don't move, or I'll hit you so hard you'll be in pain.