It is important to understand that the law does not punish bad or illegal thoughts.
Every crime requires both thoughts AND acts.
If you thought about, and even planned, to murder the person in the house, but didn't do it, then you had the criminal intent, but lacked the the criminal act to be guilty of the crime. In all cases, you must always have both the criminal act and the criminal intent to be guilty of any crime. The criminal act of murder is the killing itself. The criminal intent is the planning in advance of committing the act. In order to be guilty of the crime of murder, you must actually do the killing.