Investing in John Marshall Bancorp (NASDAQ:JMSB) five years ago would have delivered you a 24% gain

John Marshall Bancorp's share price has not outperformed the market over the past five years, despite a 20% rise. The company's earnings per share have declined by 30% annually, raising concerns about its valuation.