Right thinking (orthodoxy) leads to right action (orthopraxy). As a child, wrong thinking many times led to wrong actions resulting in punishment. As Christians we need to make sure we have Godly thinking so that our actions will be Christ-like.
Colossians 2:8-15