To convert tabs to spaces you should click Spaces: 4 in the bottom right corner of the Sublime Text 4 main window:
Spaces: 4
You should select Convert Indentation to Spaces in the opened context menu:
Convert Indentation to Spaces