God allows His children to be subject to pitfalls, knowing that He has a greater purpose on the other side.