hey buddy, sounds like you are pretty new to ccgs and they can be very though in the beginning, and look very rng based and a lot of clutch situations. i suggest you take a look at fryemup channel on youtube and specifically his deck building video, but also watch some of his gameplay.
i think the bottom line for these games however is (card) advantage. if you can deal and prevent more damage with the same amount of cards as your opponent you will generally win. also make sure that you click on both yours and opponent's cards and read exactly what they do. learn which heroes have the cards that seemingly beat you out of nowhere and try to devise a plan when playing against those heroes and how you would deal with them. if you can't think of a way feel free to post here and we will find a way together.
funny story is i remember when i started playing magic years ago at a local store and everyone was destroying me and i generally had the same experience as you ๐ anyway, little by little i started beating some of the players and they were like stepping stones, because one by one i started beating all of them consistently, then i went to a different store and did it again, and after a while was going to hundreds and thousands of people tournaments and getting top 8 and stuff. one of the most important things that i have noticed which goes against luck being the major factor in these games is that the really good players are always at the top every time they play, it is very very rare that a top player won't top 8 or at least top 16 a 1000 people tournament, and there is also this kid that is hella good and he always beats me, even when i know what deck he is using and i build a deck to counter his deck, he still beats me, because he is just better ๐