You can verify if Windows thinks your hardware supports Miracast.
This doesn’t always mean your PC is incapable. Often, it just needs a driver or settings adjustment. Below is a complete guide to understanding and fixing the issue. windows 11 your device doesn't support miracast
If your PC does not support Miracast but you need to project to a TV wirelessly, you can purchase a (or similar Miracast dongle). You can verify if Windows thinks your hardware