This line comes from Washington Irving’s short story “The Adventure of the German Student,” which is actually a pretty dark and ghostly tale.
But these words come at a joyful time in the story. The main character has just met a woman and immediately falls in love with her; at this moment he is explaining how he plans to take care of her. His earnest enthusiasm wins her over.
Time and again, when we let our joy and passion shine through, we’re rewarded with happiness.