God disciplines me as a parent corrects a child

Deuteronomy 8:5-6

You shall consider in your heart that as a man disciplines his son, so the LORD your God disciplines you. You shall keep the commandments of the LORD your God, to walk in his ways, and to fear him.

from Discipline topic