The past tense of behave righteously is behaved righteously.
The third-person singular simple present indicative form of behave righteously is behaves righteously.
The present participle of behave righteously is behaving righteously.
The past participle of behave righteously is behaved righteously.