There is a difference between preaching and counseling. However, sometimes in the midst of counseling someone, it’s difficult not to be preachy because some of us are wired that way. Our bias towards action compels us to dispense solutions and fix problems, rather than to simply be an attentive listener and provide some counsel.
Counseling is not something they teach you in seminary. At least not when I was attending. Perhaps these are courses that will be helpful for future pastors working in the churches. We are dealing with more mental, emotional and spiritual issues in our ministries and it will benefit us all if we were prepared to respond thru proper training and equipping.