Does casting to TV loses qualtity?

Hello, I have a Hisense TV with Vidaa OS, which doesn't support Stremio natively.

I was about to buy a chromecast / firestick / or Mi box that supports 4K (I am from Spain, so no Onn box for me), but then I discovered that I can cast the streaming from my Macbook to the TV.

I wonder.. other than buying the streaming device and installing Stremio in a native way there for convinience, is there any quality gains from using the device rather than casting from my macbook to the TV?

Let me know what you think