Although, literally, the word felicity means happiness, but considering the way the word was used in the passage above, the best meaning for the word 'felicity' is GOOD FORTUNE.
The man that is been discussed in the passage was thanking God because, he is just realizing how fortunate he has been.