“Socialism is defined as the ownership of the means of production and distribution by the state”
No, you’re describing fascism- state ownership of the means of production and distribution.
Socialism’s definition always requires ownership to not be by the state:
“Socialism is a range of economic and social systems characterised by social ownership of the means of production and workers’ self-management as well as the political theories and movements associated with them. Social ownership can be public, collective or cooperative ownership, or citizen ownership of equity. There are many varieties of socialism and there is no single definition encapsulating all of them, with social ownership being the common element shared by its various forms.