for a time , it looked as if his less noble instincts prevailed , but at the last moment , from somewhere deep inside , the better parts of his nature emerged , and he avoided making another big mistake .