How to call theme default widget in custom template?

Try this

<?php the_widget( 'WP_Widget_Recent_Posts', array('number' => 10, 'title' => 'My Title Goes Here'), $args ); ?>

404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.