It basically depends who you follow. If you are following toxic people, that is your own fault with mastodon. On Twitter, the algorithm pushes it to you no matter what.
I have only followed a few people and they are from the suggested list. I picked Rochki, it's FOSS, ars technica, and nixCraft. I just went to the search tab in Mastodon and the first two messages are about blocking people and nazis. Not sure how that's my fault.