So in God's eyes if you did not intend to sin its ok?
No! But God does distinguish between willful sin and sins of ignorance. Full intent to sin is more grevious before God as it entails sinning with full knowledge of right and wrong.
Le 4:2 Speak unto the children of Israel, saying, If a soul shall sin
through ignorance against any of the
commandments of the LORD concerning things which ought not to be done, and shall do against any of them:
Nu 15:30 But the soul that doeth ought
presumptuously, whether he be born in the land, or a stranger, the same reproacheth the LORD; and that soul shall be cut off from among his people.
Joh 9:41 Jesus said unto them, If ye were blind, ye should have no sin: but now ye say, We see; therefore your sin remaineth.
Rom. 7:9 For I was alive without the law once: but when the commandment came, sin revived, and I died.