Switch should be able to easily defeat the DS if Nintendo keeps it alive long enough. The Switch can easily last to 2025. It still sells 300k a week and will have a massive holiday this year unlike it's rivals which will be very much supply constraint during that time. Especially PS5. So having a easy to produce system with a good flow of software on hand is a great idea. They can release the Switch 2 when supply is less of an issue.
Please excuse my (probally) poor grammar