2 Samuel 7:14

14 aI will be to him a father, and he shall be to me a son. When he commits iniquity, bI will discipline him with the rod of men, with the stripes of the sons of men,

Psalms 89:30-34

30 cIf his children forsake my law
and do not walk according to my rules,
Or  my just decrees

31if they violate my statutes
and do not keep my commandments,
32then I will punish their transgression with ethe rod
and their iniquity with stripes,
33but I will not remove from him my steadfast love
or be false to my faithfulness.
34I will not violate my fcovenant
or alter the word that went forth from my lips.
Copyright information for ESV