Impute – to credit to a person or cause

He felt miserable with herself, dreadful feeling, but as soon as he scolded the young boy a delightful feeling, powerful vibrant feeling, invaded his senses.