@Shaik Sattar 

you are using wrong script

You should hide it when role is not your role

function onLoad() {
    if (!g_user.hasRole('major_incident_manager')) {
        g_form.showRelatedList('sn_sow_inc_post_incident_review.incident_ref');
    }
}

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader