In the bible, stiff-neck refers to inflexible obstinacy. It doesn’t necessarily point to any specific sin. It simply describes someone who is unwilling to change. It is a stubborn attitude resistant to transformation.
Actually, it’s not about modifying the mind, but renewing it. Behold, he is a new creation! We’re talking about the kind of change that is radical. Not change but exchange.