Passage
I will be his father, and he shall be my son: if he commit iniquity, I will chasten him with the rod of men, and with the stripes of the children of men;
I will be his father, and he shall be my son: if he commit iniquity, I will chasten him with the rod of men, and with the stripes of the children of men;
2 Samuel 7:12 When thy days are fulfilled, and thou shalt sleep with thy fathers, I will set up thy seed after thee, that shall proceed out of thy bowels, and I will establish his kingdom.
2 Samuel 7:13 He shall build a house for my name, and I will establish the throne of his kingdom for ever.
2 Samuel 7:14 I will be his father, and he shall be my son: if he commit iniquity, I will chasten him with the rod of men, and with the stripes of the children of men;
2 Samuel 7:15 but my lovingkindness shall not depart from him, as I took it from Saul, whom I put away before thee.
2 Samuel 7:16 And thy house and thy kingdom shall be made sure for ever before thee: thy throne shall be established for ever.
The verse centers on "stripes", "father", "shall", "commit", "iniquity", "chasten", and "children". It is saying that the verse draws attention to "stripes" and "father", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 13's "He shall build a house for my..." into verse 15's "but my lovingkindness shall not depart from...", so "stripes" and "father" belong inside that flow. In 2 Samuel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "stripes" and "father" with trust shaped by these words, not by a vague optimism outside the passage.