Of course, the means may not be particularly good, but the effect should be good.
If you don't think it's acceptable, you can discuss it with the teacher and hope that he will stop scolding you. You are not particularly receptive to such direct criticism.
Whether it is your fault or not, remember that the teacher's starting point is good. When the teacher criticizes you, you should meditate: change what you have and encourage what you have.
I hope your teacher can correct his criticism and get along well with you.