You’re getting done absolutely terrible advice here imo.
There’s a child involved. You don’t give up on a family at the drop of a hat.
You’ve now got an amazing opportunity to turn your relationship completely around, because you have an insight into your husband’s innermost frustrations and desires.
Many people don’t get this chance, and when the relationship withers away to nothing and their lives are turned upside down they are left dumbstruck.
If you still love him, be as honest as you can be with yourself about the things you could improve.
For example, if he has asked you to find work, then find work. The stress of being the sole financial provider, particularly these days, is no joke. If he’s feeling bored in the relationship, then do some soul searching.
Approach his frustrations with kindness, openness, and genuine curiosity. His private conversations will be exaggerations. They are childish. Still, some part of him feels unloved or unappreciated. Some part of him feels bored.
It’s not all on you, but someone has to be the bigger person and make the first move to improve a situation. Later, it will start being reciprocal.
Don’t direct your energy into feeling sorry for yourself. Direct it instead into making improvements.
Give it a year of solid, earnest effort. Then re-evaluate. Or, if you know deep down that you’ve already done all of this to no avail, then - and only then - it might be time to go.