I have said this same thing many times recently, but they aren’t that stupid. They know exactly what they are doing.
Some know exactly what they are doing, while other, thoughtlessly (or stupidly) are led by their evil desires to follow. You don’t have to be smart to be good. A person of below average intelligence - as half of people are - can learn to discern good and seek it.