yes Jesus even admitted that he was good
John 10:10 The thief cometh not, but for to steal, and to kill, and to destroy: I am come that they might have life, and that they might have it more abundantly. 11 I am the good shepherd: the good shepherd giveth his life for the sheep.
John 10:14 I am the good shepherd, and know my sheep, and am known of mine.