It was from a poem Hermione had learnt in primary school, long before she had known of the wizarding world, before she had known of blood purity and the bigotry that went hand in hand with it. Both the common out-of-context meaning and the line as it was meant in the poem, fit so perfectly, and it was while thinking of the latter that Hermione stepped up into the dining room.