My static mesh cube permanently deleted how can i get back

If it’s an engine asset you could reinstall the editor. I think you could press “Verify” on your engine version. But otherwise just reinstall. Or try to find the asset location in an older version of the engine and then migrate or copy the files.