If your primary goal is to have a strong foundation in computer science and programming, then learning Racket as a first programming language can be an excellent choice. Racket is an excellent platform to start learning computer science concepts such as data structures, algorithms, functional programming, and abstract syntax trees.
Learning Racket can help you acquire a different perspective on programming language design and implementation, as Racket's Lisp-based syntax exposes you to powerful concepts such as macros, closures, and continuations. Racket exposes you to several paradigms such as functional, imperative, and object-oriented programming paradigms, which can help you understand different programming approaches that benefit you in your computer science journey.
Once you master the fundamentals of programming with Racket, you'll be able to adapt to many other programming languages and paradigms much more easily. Keep in mind, however, that some concepts may be less applicable when working with other languages, as they may have different conventions and libraries.
Overall, if your goal is to gain a strong foundation in computer science and programming, Racket can be an excellent starting point that helps you achieve your goals.