Allah knows my intention
Some people use the phrase, "Allah knows my intention" to continue to be in sin or to just brush it off basing it in "Allah knows my intention" IF you have no choice but to be in a situation that may have haram around such as a job than do your best to change it and pray for help "for you do not want to stand before your creator in judgement day and he ask you "why you had done such and such? Why did you mingle with this sin?" And all you have to say is, "Allah you knew my intention."