I've gone through a number of Thunderbolt docks over the last few years. I tend to prefer docks to hubs because you tend to use your laptop at several fixed positions, each of which might have 1 or more monitors, a network cable, accessories (eg keyboard, mouse, camera) and so on. It's easier to just plug in one cable from the dock to the Macbook that'll do everything including power it.
A good example of this is the Caldigit TS4 [1]. All the ports you could possibly want. Here's what I've learned.
First and foremost, you'll be surprised at how many issues come down to a given cable being bad. It's gotten to the point that whenever I buy any sort of cable I typically buy 2 or even 3 at the same time because I assume 1 will be bad or will go bad.
Second, also to do with cables, don't use any cable to connect from your dock to your laptop longer than a foot. These cables that can take power and full bandwidth for displays and accesories are the most technically demanding. Keep them as short as possible. And again, have spares.
Third, while I'm a traditionalist and like a wired connection (and thus an Ethernet port), it's really optional now, particularly at home where you have some control over the network. Like I can get easily get 500+ Mbps over Wifi at home. This of course assumes a sufficient Internet connection but if you don't have that then Ehternet is even less necessary.
If you have flickering display in particular, your first instinct should be to blame the cable.
[1]: https://www.caldigit.com/thunderbolt-station-4/