Overgeneralizing. There are deals to be had on the internet but in general, you get what you pay for. Dewalt, even Ryobi have different tiers of tools at different price points.
Dewalt's $100 drill kit isn't significantly different than Ryobi's $100 drill kit. If you have a use where it is justified to buy a $250+ Dewalt drill, then sure, it's going to beat Ryobi's $150 drill kit.
Rigid is not that much different than Ryobi's higher end tiers.
The funny thing is when people try to talk about contractor grade. I understand the concept perfectly, and yeah, once upon a lifetime ago I was a contractor, using the TTI Craftsman tools which were equivalent to Ryobi at the time, and managed to get the work done, while today, those tools are nowhere near as powerful or well engineered as what is now available.
IMO, a lot of people try to use tunnel vision when picking tools instead of taking into account all the variables that determine which tool brand is right for them.
If money is no object and more importantly, one of the top tier brands has all the types of tools you need, then it is a clear choice. Otherwise, you really have to look at how often you use a particular tool and even then, whether you are going to try to leverage the same batteries for your outdoor lawn/garden too, in which case the Dewalt 60V system makes a lot of sense as it can also work on the 20V tools, and yet, I hate buying into this kind of tech because it usually means the batteries change over time, while this is one very strong reason to go with Ryobi, that their batteries have remained compatible for longer than anyone else, by far.
Then there are youtube videos where idiots just do some kind of race to see what is fastest, which is important if that is tied to your production rate and earnings but for the average person, not so much.
The main thing to keep in mind is the limitations of the build quality you choose. If you buy a budget line product, do not push it till smoke pours out. Any tool has a limit and trying to push it to that is asking for premature failure. The limit is higher on high end expensive tools but it is still there and all the more expensive a loss if you exceed that limit.