Yes, AMD is best right now for perf per $.

If you can manage to find a 5900X in stock then get it.

Or if you're looking to save some $ and go last gen then get a 3900X.

RAM go for 3200 C14 or 3600 C16.