It sounds like you're providing a direct quote! If you need help with grammar, writing style, or using this quote in a larger context, let me know! For example, you could expand this sentence to include more context or emotion, like:
"He looked determined as he said, 'I will go to the gym after work,' ready to stick to his fitness goals despite his long day."
Let me know how else I can help you!