Learning a programming language is just the beginning. I learned Python about 20 years ago and wondered what to do next. How do I make a desktop application, a web server, an FTP client, or an IRC client?
It's similar to learning how to write. Knowing words and how to put them together doesn't make you a writer. You need ideas and topics to write about.
To create useful programs, you should also study how computers communicate, databases, operating systems, concurrency, parallelism, cryptography, security principles, and more. While you don't need to know everything, having this knowledge expands the types of programs you can create.