When thinking about doing something, even if he’s aware of the consequence, he’ll still go through it and get the trouble he thought he would get.
Most of us are like that, we need to “feel” the consequences to really think about doing it again, whether it’s about cheating your wife, doing drugs, stealing or “walking through a fire”.
Also, this line reflects an addiction to pain, suffering which helps most artists to create.