Not really. The Switch 2 has many of the most popular games available on other platforms. Plus a lot of Nintendo exclusives. They are not the same for sure, and YMMV for specific titles.
I have both and I would agree with GP on that, the switch is really exclusively for Nintendo games. Cross platform games don't run really well, I just get them on the deck instead.
If you like indie games, the selection is generally better on Steam. And everything that is available on both runs better on the steamdeck. The Switch only makes sense if you particularly want to play Nintendo games.
I got the switch 2 and day one and I've mostly been playing the deck since then. There isn't much on the switch (besides mario kart and donkey kong), and the stuff that is cross-platform doesn't run well (the new "it takes two" is really laggy).