The secret of the Lord is with those who fear Him. The fear of the Lord is the beginning of wisdom and understanding is given to those who follow His commands. In all thy ways acknowledge God and He shall direct thy paths.
In the days of old when Moses, David and Joshua walked the earth, there was no bible. The scriptures were still being written. It was the following of the commandants and praying to God that put them in the right relationship with God for Him to speak .
God speaks to the spirit of man and depart secrets and wisdom. God can do this because Man has a spirit and a soul. God is a spirit and He created us in image. The same God today is the same God of yesterday. He changes not! If you take the time to seek God by studying His word (Bible), pray and reverence him, He will also depart wisdom to you. Yes, He will give instructions on how to get you out your present situation what ever that may be. That is good news.