add external Sitemap Link is not working

I am trying to add my own external links to RankMath buts looks not working, Tried with fresh installation and default themes

add_filter( 'rank_math/sitemap/index', function( $xml ) {
	$xml .= '
		return $xml;
}, 11 );


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer