He promised that he will help me with my homework.
He promised [that] he would help me with my homework.
Which sentence is grammatically correct? I saw this debate and I genuinely don't know the answer since English isn't my first language. But I feel like the second sentence is more pleasing to hear.
Can someone help? If you have an answer can I know why that was your answer?