The Ants - 27:25 But they should have prostrated to Allah, Who reveals what is hidden in the heavens and the earth. He knows what they conceal and what they reveal.
Allah holds us responsible for the evil thoughts that we form in our hearts:
The Women/4:108 They hide from the people, but they cannot hide from Allah. He is with them when they conceive thoughts that He dislikes. Allah encompasses all that they do.

The Victory/48:12 Indeed, you thought that the apostle and the believers would not return to their families forever, and this thought was pleasant to your hearts. You were dreaming evil dreams, and in the end you became a lowly people.
The Victory/48:6 And punish the hypocritical men and hypocritical women and the idolatrous men and idolatrous women who harbor evil thoughts about Allah. Their evil deeds will backfire. Allah has wrath on them and cursed them and prepared Hell for them. What an evil place of return.

The Table Spread/5:52 "You will see those in whose hearts is a disease, wandering among them, saying: "We fear that some calamity may befall us. It may happen that Allah will bring victory or a command from His side, and they will regret what they have been concealing in their hearts."

The Family Of Imran/3:156 "Believers! Do not be like the disbelievers who say of their brothers who traveled or went to war, "Had they stayed with us, they would neither have died nor been killed". Allah makes this kind of thinking a source of sorrow in their hearts. It is Allah who gives life and Allah who kills. Allah sees what you do."

Prophet Hud/11:5 They want to conceal from Him what is in their breasts. Know well that He knows what they conceal and what they reveal, even when they put on their clothes. He is the Knower of secret thoughts.

The Coalition/33:37 "You used to say to the one to whom Allah had done good to you and you had done good to him, "Keep your wife and observe Allah". Thus you were concealing what Allah would reveal. You were afraid of the people when you should have been afraid of Allah. And when Zayd was estranged from his wife, We gave you her in marriage so that the believers may not find it difficult to marry their adopted children when they are estranged from their wives. Allah´s command must be fulfilled."

The Cow/2:284 To Allah belongs what is in the heavens and the earth. Whether you reveal what is in you or conceal it, Allah holds you responsible for it. He forgives whom He wills and punishes whom He wills. Allah is all-powerful.

The Heights/7:200 Whenever an evil thought from Satan enters your mind, seek refuge in Allah; He is All-Hearing, All-Knowing.
The Heights/7:201 Whenever a dark suggestion from the devil reaches the righteous, they immediately remember. So they immediately see.
The Heights/7:202 (The devils) drive their brothers to transgression and they do not hold back from it.