I know you like to be dry. You'll get better at this. If you can't help expressing some disapproval, keep it to mild verbal comments and do it rarely. Then change your child into a dry diaper or training pants, maintaining a neutral attitude. Even after your child learns to use the toilet, don't expect perfect performance.
Some accidents occur for months.
Avoid physical punishment, yelling, or scolding. Avoid battles and showdowns as well. Pressure or force can make children this age, who are normally negative to begin with, completely uncooperative. In other words, if you escalate your response, you will lose. Your child holds back bowel movements.