It is hard to think that the apostle who authored Hebrews was unfamiliar with Jesus’ teachings in the Gospels, including His teaching on judgment in Matthew 25.
So a “root of bitterness” is not an attitude, but a person who is presumptuous and flatters themselves in their sin, one who hears the word of God but shrugs it off as inapplicable to him or herself.