The Bible says in Exodus 2:12, that before Moses killed the Egyptian that was beating the Hebrew, he looked "this way and that way," and then killed the Egyptian. While we may think that Moses' heart was in the right place in his defense of the Hebrew, his actions were foolish, and clearly, not been told by the Lord to do it.