Display custom meta box in my template file

Figured it out, in part thanks to The Sufi’s comment. I had:

<?php get_post_meta( get_the_ID(), 'textfield', true); ?>

Should have been

<?php echo get_post_meta( get_the_ID(), 'textfield', true); ?>