1. God is omnipotent - all powerful
2. God is omniscient - all knowing
3. In order to be allowed beyond the pearly gates one must embrace Jesus Christ as one's lord and saviour.
4. One has until virtually one's last cognizant moment to do this.
5. Living a good life, doing good deeds, thinking pure thoughts will not get you into heaven.
6. It doesn't matter if one sins as long as he or she takes care of #3 above BC (before croaking.)
Preachers and the like constantly direct their parishoners, and anyone else who'll listen, to live a righteous life and avoid temptation and sin.