Yes, "Thank you for giving me a listening ear" is grammatically correct. The phrase means that you are expressing gratitude to someone for being willing to listen to you, particularly when you needed support or wanted to share your thoughts and feelings.
You can rephrase it in several ways, such as:
- "Thank you for being there to listen."
- "I appreciate you taking the time to listen to me."
- "Thank you for lending me your ear."
- "I'm