I don’t have a masters. I’ll likely never need one. If there was a specific field that required intense learning and was cutting edge (computer vision or something) then I’d understand a masters (or especially a PhD) but for general work…? Don’t get it.
You’d certainly be better off financially from doing more leetcode or system design prep instead.