The single most powerful tool for getting God's guidance and defeating temptation is memorized Scripture.
Temptation rarely comes during working hours. It's during leisure time most men are made or marred! Ask King David?