The walk through the wilderness can be a lonely time. Walking around with no hope insight, thinking how you are going to provide for yourself and family. The problem was you did not to get to that point, but because of a hard head this is what you got.
We as people of God must do what God have told us. We must obey and follow God's way of being safe in our homes and lands. Try this, lived according to the way God planned for us and be safe.