Select the correct definition of the word derided based on the context of the following line from James Joyce's "Araby."
Gazing up into the darkness saw myself as a creature driven and derided by vanity
A. rebuked
B. mocked
C. saddened
D. motivated