The first duty of the sovereign, that of protecting the society from the violence and invasion of other independent societies, can be performed only by means of a military force.
We change our behavior when the pain of staying the same becomes greater than the pain of changing. Consequences give us the pain that motivates us to change.