DAC to generate 50khz at 1.5v to 3v with esp32

hello i am using an esp32 but i need a sine wave generator which can generate 50khz at 3v any idea which dac should i use to get 50khz sine wave please help me

The built-in DACs?

What resolution do you need? A 4bit dac will give you 16 discrete values. An 10bit dac gives you 1024 discrete values.
At 50Khz, you probably have to create a sine table in an array during setup() because the sin() function will be too slow at runtime.