Below is an MWE. How may the dedication be justified so that it aligns with the right margin of the text?
\documentclass[12pt]{scrartcl}
\usepackage{lipsum}
\title{\textbf{\LARGE The Recursionist Theory of Something}}
\date{}
\dedication {\scriptsize To the memory of my teacher,
\ldots\ldots\ldots\ldots\ldots.,.,.,\
and to the sleepless nights these problems caused.}
\author{ Sapiens}
\begin{document}
\thispagestyle{empty}
\maketitle
\lipsum[1-2]
\end{document}

\LARGEdoes not take an argument.\LARGE{The Recursionist Theory of Something}should be\LARGE The Recursionist Theory of Something(although of course you should not have formatting such as\LARGEor\textbfin\titleat all) – David Carlisle Sep 27 '23 at 08:39