No sound from speakers when I run any soundtrack in Cubase 12

Usually people tend prefer ASIO4ALL over the Generic driver with onboard audio, as it has a lower latency.
There is a how to from a forum member here about that:

In that thread you’ll also find a link to an extensive tutorial for properly setting up windows audio.