What tone does this passage convey?

No matter how many times Jaime failed, he would try again. He knew if he just kept practicing, he would eventually succeed.

optimistic

pessimistic

humorous

satirical

optimistic