Never pray like a beggar. You are the child of your Heavenly Father and you have right to His guidance. With this mental attitude, prayers create miracles. You may have terminated your physical, mental, and legal relationship with your former wife, but you may not have terminated your karmic relationship with her. Again, until all your karmic accounts are settled, you cannot succeed in your spiritual life.
Spirituality means freedom from physical limitations.
Karmas are the forces that keep our spiritual center bonded with the physical phenomena. These relationships are not determined randomly for us, but are structured by Law of Karma in accordance with our past deeds. Whether you believe in the Law of Karma or not does not matter. The Law of Gravity works whether we believe in it or not. Two possibilities exist in your case.