Airing your dirty laundry to people you don't even know? Your husband better run for the hills. You have no idea how to be a good wife from the looks of things.
Try deep and genuine listening. When he says something, respond by reflecting back in your own words what he has said, to show that you've heard and understood. Ask questions to draw out the details. Find out his need underneath what he's saying.
I have a neighbour-friend whose husband talks almost non-stop whenever he's not on the computer. He's busy designing and inventing things that will make their life more comfortable. He wants and needs to be acknowledged by her for the effort he puts into improving their lives - especially hers since she is partially disabled. Instead, she berates him for boasting. It's not surprising that he's so miserable.
I'm not implying that their life is like yours, but just about every human being on the planet has a deep need to be heard - and most loneliness occurs because people are not sufficiently interested in caring for each other.