At minimum before you post, you need to test your own script.
create table tab1
(col1 int, date date)
insert into tab1
values(1,'02/02/2022')
select * , format(date,'01/MM/yyyy') firstofMonthddMMyyyy
from tab1
--or
select * , try_convert(varchar(10),dateadd(day,1,eomonth(date,-1)),103) firstofMonthddMMyyyy
from tab1
drop table tab1