Things often do the opposite of what they are supposed to do. Church makes a lot of people hate religion; school gives people an aversion to learning. So this is really no surprise.