And again, goblins are evil due to being attuned to evil alignment. By nature, they desire to do evil, just like chromatic dragons.
Out of curiosity, are drow also inherently evil?
Yes. They have been evil for most of D&D history, but because of Drizzt, suddenly they became popular as heroes. So, they decided to have Eilistraee betray her mother Lolth and become the good goddess of the Drow race, providing a way for Drow to now be good. Thus, you have Seldarine Drow who are good and Lolthsworn who are evil.