The BIBLE literally says in 1 John 3:20

for God is greater than our heart and knows all things

pretty straight forward from any theological view if you ask me