The scriptures assure us that God is everywhere present by his Spirit and knows our thoughts.
Psalms 139:1 O LORD, thou hast searched me, and known me. 2 Thou knowest my downsitting and mine uprising, thou understandest my thought afar off. 3 Thou compassest my path and my lying down, and art acquainted with all my ways. 4 For there is not a word in my tongue, but, lo, O LORD, thou knowest it altogether. 5 Thou hast beset me behind and before, and laid thine hand upon me. 6 Such knowledge is too wonderful for me; it is high, I cannot attain unto it. 7 Whither shall I go from thy spirit? or whither shall I flee from thy presence? 8 If I ascend up into heaven, thou art there: if I make my bed in hell, behold, thou art there. 9 If I take the wings of the morning, and dwell in the uttermost parts of the sea; 10 Even there shall thy hand lead me, and thy right hand shall hold me. 11 If I say, Surely the darkness shall cover me; even the night shall be light about me. 12 Yea, the darkness hideth not from thee; but the night shineth as the day: the darkness and the light are both alike to thee.
God also has a purpose with the earth.
At a future time, he will fill the earth with his glory in the form of men and women raised to the divine nature.
Numbers 14:21 But as truly as I live, all the earth shall be filled with the glory of the LORD.
2 Peter 1:4 Whereby are given unto us exceeding great and precious promises: that by these ye might be partakers of the divine nature, having escaped the corruption that is in the world through lust.
He made men and women with free will so that they can choose to be part of his purpose or not.
Out of each generation God chooses those who read his word and understand his purpose and try to live by his commandments.
They will be raised to eternal life in the kingdom of God on earth.
We are assured that when we pray to God, he hears us, and he will fulfil that which we ask according to his will.
1 John 5:14 And this is the confidence that we have in him, that, if we ask any thing according to his will, he heareth us:
We have examples in Scripture such as Daniel who prayed to God three times a day.
Jesus tells us that we ought always to pray because God wants to hear from us.
Luke 18:1 And he spake a parable unto them to this end, that men ought always to pray, and not to faint;
Luke 21:36 Watch ye therefore, and pray always, that ye may be accounted worthy to escape all these things that shall come to pass, and to stand before the Son of man.
He knows our needs, but we need to exercise our faith by making our wants known to God. Also we are to pray for his kingdom to come and for the forgiveness of sins and to pray for one another.
The pattern of prayer is given:
Matthew 6:9 After this manner therefore pray ye: Our Father which art in heaven, Hallowed be thy name. 10 Thy kingdom come. Thy will be done in earth, as it is in heaven. 11 Give us this day our daily bread. 12 And forgive us our debts, as we forgive our debtors. 13 And lead us not into temptation, but deliver us from evil: For thine is the kingdom, and the power, and the glory, for ever. Amen. 14 For if ye forgive men their trespasses, your heavenly Father will also forgive you: 15 But if ye forgive not men their trespasses, neither will your Father forgive your trespasses.
Philippians 4:6 Be careful for nothing; but in every thing by prayer and supplication with thanksgiving let your requests be made known unto God.
1 John 1:9 If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
James 5:16 Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much.
It is a matter of faith that we pray.
John 16:24 Hitherto have ye asked nothing in my name: ask, and ye shall receive, that your joy may be full.
James 1:5 If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him. 6 But let him ask in faith, nothing wavering. For he that wavereth is like a wave of the sea driven with the wind and tossed.
James 4:3 Ye ask, and receive not, because ye ask amiss, that ye may consume it upon your lusts.
Without faith, we cannot please God.
Hebrews 11:6 But without faith it is impossible to please him: for he that cometh to God must believe that he is, and that he is a rewarder of them that diligently seek him.
The scriptures have many examples of men and women whose prayers were answered.
Psalms 34:17 The righteous cry, and the LORD heareth, and delivereth them out of all their troubles.
Psalms 55:16 As for me, I will call upon God; and the LORD shall save me.17 Evening, and morning, and at noon, will I pray, and cry aloud: and he shall hear my voice.
Psalms 65:2 O thou that hearest prayer, unto thee shall all flesh come.
Psalms 69:33 For the LORD heareth the poor, and despiseth not his prisoners.
Psalms 86:3 Be merciful unto me, O Lord: for I cry unto thee daily.
Psalms 102:17 He will regard the prayer of the destitute, and not despise their prayer.
Proverbs 15:29 The LORD is far from the wicked: but he heareth the prayer of the righteous.
John 9:31 Now we know that God heareth not sinners: but if any man be a worshipper of God, and doeth his will, him he heareth.
Without prayer we will not attain to the kingdom of God.
I hope you find this helpful.