The purpose of discipline is to create a safe learning environment for children.