2 Samuel 7:14

7:14 I will become his father and he will become my son. When he sins, I will correct him with the rod of men and with wounds inflicted by human beings.

Psalms 89:30-34

89:30 If his sons reject my law

and disobey my regulations,

89:31 if they break my rules

and do not keep my commandments,

89:32 I will punish their rebellion by beating them with a club,

their sin by inflicting them with bruises.

89:33 But I will not remove my loyal love from him,

nor be unfaithful to my promise.

89:34 I will not break my covenant

or go back on what I promised.