as stated, looks like you are trying to put a thread-on freewheel (1980's technology) on a splined freehub made for a cassette (post '90s technology).
like trying to plug in a male DB9 connector into female USB socket. won't work.
also looks like you've removed the reverse threaded freehub bearing race, and axle, in a desperate (i'm assuming you were desperate, maybe you were completely composed IDK

) attempt to find a way to make this work. anyway you will need to use a splined cassette (and there are different spline configurations, of course!). keep at it, you've make some mistakes, but there aren't many more to make before you succeed.