Hebrews 12:6

For the Lord disciplines the one He loves, and He chastises every son He receives.”

Note Literally and He flogs every son He receives; Proverbs 3:11–12 (see also LXX)

BSB · Berean Standard Bible
For whom the Lord loveth he chasteneth, and scourgeth every son whom he receiveth.
KJV · King James Version
for whom the Lord loves, he disciplines, and chastises every son whom he receives.”
WEB · World English Bible
For whom the Lord loveth he chasteneth, And scourgeth every son whom he receiveth.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

whom
Deuteronomy 8:5; Psalm 32:1–5; Psalm 73:14, 15; Psalm 89:30–34; Psalm 119:71, 75; Proverbs 3:12; Proverbs 13:24; Isaiah 27:9; Jeremiah 10:24; James 1:12; James 5:11; Revelation 3:19
and scourgeth
Hebrews 12:7, 8; 2 Samuel 7:14