What is the ‘childish longing’ that the poet refers to? Why is it a ‘vain’?
The poet is referring to the speaker’s desire to kill all the poor to put an end to their misery at one stroke. However, he realizes that his desire was a vain. It was neither feasible nor desirable. It was a childish idea.